This sort of work would - along with other ideas such as physical units etc. - be best placed in a lightweight DSL (domain specific language) that simply hides the necessary mixins etc.

D lends itself to this wonderfully, it would make for a very nice mathematical/scientific language. I'm almost tempted to make such a language myself. Integrated with SciD.... ?? Hmmm, I feel a project coming on.

This could be a very interesting project. What do you think of Go's rules for inserting semi-colons? This and a few other tweaks (perhaps some of the parens removal too?) could allow a very elegant and minimal form of D, a subset with slightly stricter layout rules rather than a new language.

Reply via email to