I created the first version of
A dynamic site, using Express 4, EJS, and JSON file as site/pages definition format. Actually, only title and text are supported, but the idea is to define each site/subsite/page in JSON files. I will add list support (ie, tables with data) to be saved in MongoDB, and views (list rendered as tables/forms in HTML).
To support the load of JSON model from MANY files (to be used in the above DynSite4), I started:
A JSON file can refer to another one, and this small library load the full model from both.
My Dylan language interpreter in C#
I added the parse of simple expressions. I should add the type check of the expression. Maybe I will switch to many-phase parse: firts, build the AST (Abstract Syntax Tree), then check type, then generate expressions to be evaluated.
I updated the Node.js module
Now, it uses ./ajgenesis/models as local directory to load and save model.
I applied minor changes to https://github.com/ajlopez/SimpleStates (internal refactor), https://github.com/ajlopez/SharpBus (fixing source analysis), https://github.com/ajlopez/SimpleCurry (adding partial application). I worked on four non-public projects, too. More fun is coming.