As usual, I was working on my open source projects:
I implemented mailbox in processes, and now I have a send operator !, and a receive expression. I started to add map support (the new Erlang feature) and now I have export form in place.
Using messages, send and receive, I could communicate local processes.
Next steps: selective receive, distributed applications.
It is still an interpreter, work in progress, of Scala, written in C#. But this week I added first type info support. In general, in my interpreter, I didn’t write type checks. But in this case, the source language, Scala, is a typed one. So I added TypeInfo to def arguments, returns, and var and val commands. I should decide where to put the type checking: I could add some checkpoints at parser time, but some class def are not known at that time, so I should add a second pass visitor for pending type checking.
Anyway, TDD supports my work and my refactor/redesigns!
Few additions, but now I have types for var, val, def. I’m applying “dog fooding” of my SimpleGrammar module.
The same for
More fun is comming.