Getting deep into the Lox language now. The parser is where the syntax of a language lives.
A bit of a side-step here to generate the many classes needed to store the structure of the Lox code to be run. I have Ruby do the hard work for me.
So here’s my advice for anyone who wants to make a dent in the future of web development: time to learn how compilers work. Tom Dale - Compilers are the New Frameworks
Yep... working on it.
Finally some progress on actual interpreter code. The scanner code is in place and generating tokens. Nothing much happens with them other than being printed to stdout, but it is progress.
I should have spent a bit more time with that interpreter book before committing to use it for this project. I would need much more time to learn Scheme than I want to spend.
...it's up to the developers, designers, entrepreneurs and technology leaders to create a version of the open web that also happens to be the best version of the web. Bringing people back to the open web
I agree that well built products will be required to lure people away from the walled gardens like Facebook, but that is not the only thing that is needed. There also needs to be a viable business model that doesn't include charging people (because they are already accustomed to using these tools for free), or monetizing their data in some way (which would put us right back into the situation we are in now).
This is the second article in the Building an Interpreter series. The project is up and running on Github and some exercises from Chapter One of Essentials of Programming Languages have been written.
...the agonizing lack of thought that city officials put into making healthy, multi-modal streets and the lack of any modicum of seriousness given to non-car modes of transportation. The Disgraceful Dockless Drama
The situation is also bad in the suburbs. Where I live the bike lane situation seems entirely random. Some roads have plenty of room for car lanes, bike lanes and parking while other roads have room only for car lanes, and some don't even have sidewalks. It would be nice to see a shift towards smaller electric vehicles everywhere.
CSS SANS is the font created by CSS, the programming language for web designing and typesetting.
This is great. The same kind of 'I just made it because I could' attitude that I want to focus on.
An introduction to a series of articles on the creation of a little programming language. The goal is to just to have some fun with building a interpreter.