Re: [racket] Providing/importing user lang modules.

2014-11-23 Thread J Arcane
Thanks! Restructuring things this way does in fact appear to work. It means I still have to cross reference stuff a bit when writing the libs, but I can safely now pen a standard library and then just provide the lot in a new simpler main.rkt. You can see the result here: https://github.com/jarca

Re: [racket] Providing/importing user lang modules.

2014-11-23 Thread Gustavo Massaccesi
You should split the language in three parts: 1) The heresy/pre-base language (or heresy/private/pre-base) that implements the basic syntax (no pun intended), for example 'if', 'def', ... (probably most of the current content of heresy/main) 2) The libraries, for example heresy/lib/string that im