I have a little purely functional embedded language I'm working on, looks like E...

@rk@well.com

I have a little purely functional embedded language I'm working on, looks like Elm.

It doesn't do modules; I figured modules were overkill.

The problem is I don't want the Prelude internal names exposed to user scripts (interior constructors for Dict tree nodes, etc).

So there's a flag on the lexer: names can contain $. On for Prelude, off for user scripts, which then can't construct the name to reference it.

Do...do I still get to go to Heaven

#compilers #programming