Sunday, March 8, 2009

Reia: no longer indentation-sensitive

Tonight I merged the "indentless" branch of Reia into master. This means that Reia is no longer indentation sensitive. Ironically enough, some of the advice driving me to abandon indentation-based syntax comes from Python creator Guido van Rossum:
"The unspoken, right brain constraint here is that the complexity introduced by a solution to a design problem must be somehow proportional to the problem's importance"
I'm ready to move on to bigger and better things than just twiddling around with my language's grammar, trying to find ways of using indentation to solve minor syntactic annoyances. Any such attempts translate into major headaches for anyone trying to invent a template language.

I was amazed at how quickly I was able to rip out indentation sensitivity and how much it simplified my grammar. There were some particularly interesting commits along the way such as when I ripped indentation sensitivity out of the lexer, replacing it with a single new keyword.

All that said, there are unfortunately now numerous code fragments based on the indentation-sensitive syntax posted throughout the Reia Wiki. I'll be working to clean these up, but if you see one and want to help out, feel free to fix them (although you will have to register with the wiki to make edits). The new syntax looks an awful lot like Ruby, so if you make your best guess adding end keywords where it'd make sense in Ruby, you'll probably be right.

46 comments:

Anonymous said...

Awesome! You don't realize how many converts you are going to get because of this!

Phrogz said...

Not that you needed my approval, but I applaud your choice to abandon indentation-as-markup. And wow, that lexer change is really awesome! :)

Prateek Barn said...

avriq
avriq India

mariablack said...

Pc Optimization
Windows Installation
Data Recovery

shabnam praveen said...

Call girls in Kolkata
Call girls in Chandigarh
Call girls in Chandigarh
Call girls in Gurgaon
Call girls in Chandigarh
Call girls in Chandigarh

shabnam praveen said...

Call girls in Lucknow
Call girls in Guwahati
Call girls in Mumbai
Call girls in Jaipur
Call girls in Jaipur
Call girls in Jaipur
Call girls in Bangalore

mohit said...

ivanka trump hot

Ritu Kawl said...

You have just shared good info but you can also try and gbwhatsapp to see its features.

walaa said...

شركة بتبوك
شركة مكافحة حشرات بتبوك
شركة مكافحة النمل الابيض بتبوك
شركة رش مبيدات بتبوك

Unknown said...

miroclash

ahmed said...

أشكال السجاد والموكيت التي تهتم مؤسسة غسيل موكيت وسجاد بتنظيفه
يتطلب تطهير السجاد والموكيت إلى توافر تقنيات جديدة تعاون على سرعة تنظيفها والمحافظة على الوانه وخاماته وتمتاز مؤسسة غسيل موكيت وسجاد بتقديم أفضل أساليب تطهير وغسيل لجميع أشكال السجاد المتغايرة .شركة النجوم لخدمات التنظيف
شركة تنظيف فلل بالرياض
شركة عزل خزانات بالرياض
شركة جلي بلاط بالرياض

Ahmad said...

Good Job you Are sharing Such a effective and informative stuff
clash of magic
clash of magic Apk

catalina said...

superb work sir, you are really doing a great job. could you plz make another dedicated website for such topics like this one?

catalina said...
This comment has been removed by the author.
selfdrivingcarservice said...

few servers. Additionally, a few players
miroclash don't need everything boundless. So for the reason being there is a point of confinement. You can check all the data in the individual game server data.

bojangleslistens said...

Do you know there is a decent opportunity to win the moment remunerate by finishing the straightforward AMC Theaters clients input tellamc overview and get an opportunity to win the $100 worth of gift voucher.

selfdrivingcarservice said...

Pretty much every article you read or find in the media is "blessing wrapped" or begins from an advertising organization. Consider it: another advanced cell. An assault from a Congressman reprimanding the President. The most recent report on icy masses liquefying in Antarctica. None of these accounts show up all Beverage marketing of a sudden and end up in front you of and a great many different shoppers. These accounts were composed, tried, rehearsed and defined by marketing specialists, staff members, speech specialists or corporate specialists before being sent to columnists who handled the data, dismissed a few attestations, acknowledged others, at that point chose to deliver a news item.

Shaazzyy Boy said...

Hi,

Thank you for such informative article. I have gained a lot of information and knowledge. Keep posting amazing articles.

Game Stars Live



Clash of Clans Hack Online without Survey



Asphalt 9 Airborne Hack online without survey or human verification



Download Clash Royale Mod Apk from here



Get Clash Royale Hack Online from Here

gbapps said...

Very Interesting post. thanks for sharing

GB Instagram Apk

salma said...


عزل خزانات بالمدينة المنورة تنظيف خزانات بالمدينة المنورة


casinoxo said...

เกมยิงปลาได้เงินได้จริงที่นี่ที่เดียว
https://www.slot1234.com/เกมยิงปลาออนไลน์

jacobs said...

thanks for this great article.
Tekken 7 APK+ISO. In this game, the fighters fight against the enemies for their survival. The fighters have different controls and fighting styles that help in the battle. Here is the latest 2020 and updated version of taken 7 APK + ISO game. you will like it most.
visit and check

Tina Lipsey said...

download coc mod apk latest version.

Hawt rajpoot said...

100% Offshore Hosting.

TeamRockie said...

Amazing to see that people are still posting the content which was posted way back in history. its all about love of FZ Movies which people are also showing.

Offshore hosting said...

We Provide Cheap Offshore Hosting – Cheap Offshore VPS – Offshore Servers – Streaming Servers With DMCA ignored Guarantee.

Priya Chakraborty said...

NSWhatsAPP 3D APK download and enjoy all latest features for free with may you like Kinemaster Diamond APK

Ramandeep Singh said...

vumoo official site

newgraphicdesigner said...

This article content is really unique and amazing.This article really helpful and explained very well.So i am really thankful to you for sharing keep it up.. Also check out GBWHATSAPP APK DOWNLOAD

moviess said...

https://www.blogger.com/comment.g?blogID=8451123064758809734&postID=8429609999077888166&page=1&token=1588063037883

moviess said...

123movies

moviess said...

123movies

Tunu said...

SSC Exam Result is a trending now in Bangladesh. SSC Examination was completed. All students are waiting to get their SSC Exam Result 2020. This year SSC Result 2020 will publish on 1st week in May. On the result day, after 12PM all students will get their SSC Exam Result 2020 from Bangladesh Education Board official website. Also Dakhil Result 2020 and SSC Vocational Result 2020 will publish on 7 May 2020

Tunu said...

SSC Exam Result 2020 in Bangladesh. SSC Result coming soon. All students are waiting to get their SSC Result 2020. This year SSC Result 2020 will publish on 07 May 2020. Students can collect their SSC Result 2020 from Bangladesh Education Board official website.

Tunu said...

HSC Examination was completed few days ago. Now HSC Result is the trending topic in Bangladesh. All candidates will check their HSC Result 2020 from Bangladesh Educational official website at educationboardresults.gov.bd.

Tunu said...

Do you want to watch all upcoming latest Hollywood and Bollywood movies? If you are movie lover. You can watch all latest Hindi, Tamil, English Movie to online. Visit the Movierulz website 2020 to get all new movie and also you can check Movierulz New link 2020 form here.

Shayari pro said...

shayari pro

mod apk said...

beauty plus mod apk
zee5 mod apk
teen patti gold mod apk
netflix mod apk
amazon prime mod apk

mod apk said...

coin master mod apk
voot mod apk
facebook mod apk
monster legends mod apk

mod apk said...

tinder gold mod apk
filmmaker pro mod apk
imvu mod apk
adove acrobat reader pro mod apk

mod apk said...

pub gfx mod apk
x vpn mod apk
express vpn mod apk

Kishore Mattaparthi said...

GB Instagram

Netflix Mod APK

rice purity said...

This website and I conceive this internet site is really informative ! Keep on putting up!

gb whatsapp latest download


Aftab Shaikh said...

I was looking for the latest version of gbwa for android & coc mod for android? Is there any way to download them.

Nita Perkins said...

Greetings! Very helpful advice within this article! It is the little changes that produce the largest changes. Many thanks for sharing!

Download Instagram Photos
TikTok Video Downloader
online resize image

Rohit said...

Great Article & Thanks for sharing.

Oflox Is The Best Digital Marketing Company In Dehradun