Ruby Interpreters
I updated my projects
https://github.com/ajlopez/RubySharp
https://github.com/ajlopez/RuScript
The first in a Ruby interpreter in C#. I started to add the support to detect the local variables in an scope. In Ruby, there is the function local_variables() that returns a list of the names of local declared variables (not only the already initialized).
The second project is the seed to my next talk: it implements Ruby in JavaScript, as an interpreter. I added more support for modules and classes, and function declaration with and without arguments and parenthesis. I’m using my grammar/parser generation:
https://github.com/ajlopez/SimpleGrammar
It was updated to support new use cases (dog fooding!).
RustScript
I added some simple features to
https://github.com/ajlopez/RustScript
My Rust Programming Language interpreter in JavaScript. Not, it has function definition with arguments, let and let mut (mutable), some new arithmetic, bitwise and logical operators, with precedence. And a powerful assert! to start writing test programs.
ScalaSharp
I updated
https://github.com/ajlopez/ScalaSharp
My Scala interpreter in C#. The additions were simple: more node support. A node is the product of a parser, and define a part of the program. It has a type to be checked. That is the main difference with expression: a node has a type that can be inferred from the rest of the program, or by explicit declaration. As a typed language, an Scala interpreter cannot directly evaluate expression. I should check the types of the nodes, and THEN, generate a correct expression tree.
Code generation
I created
https://github.com/ajlopez/AjGenesisNode-Model
A new global tasks to be used by AjGenesis and related tasks to modify the model using command line. I started the new global tasks
https://github.com/ajlopez/AjGenesisNode-Php
https://github.com/ajlopez/AjGenesisNode-Django
to generate code for PHP and Django. There are only the skeletons, but I want to generate code for these languages/frameworks using a free model. Meanwhile, you can check the simple pages generated from:
https://github.com/ajlopez/AjGenesisNode-Express
The next big step: having a code-as-a-service application, written in Node.js, using AjGenesisNode, and deployed on Heroku.
I worked on two non-public projects, too.
More fun is coming!
Keep tuned!
Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez
