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.


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 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...


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...


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...


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