On Tue, Apr 12, 2016 at 08:23:52PM -0700, Josh Tilles wrote:
> On Monday, April 11, 2016 at 8:41:54 PM UTC-4, Neil Van Dyke wrote:
> > I would first decide whether and how I want functions and variables
> > provided by modules in this language, to be usable from modules in other
> > `#lang`s.
Josh Tilles wrote on 04/12/2016 11:23 PM:
I'm writing an implementation of KLambda, a tiny (the "K" stands for
"Kernel") and rather idiosyncratic Lisp.
This is the best URL I found for what I think is KLambda:
http://shenlanguage.org/Documentation/shendoc.htm#Kl
I had expected there to be
On Monday, April 11, 2016 at 8:41:54 PM UTC-4, Neil Van Dyke wrote:
> I would first decide whether and how I want functions and variables
> provided by modules in this language, to be usable from modules in other
> `#lang`s. That narrows down the options of how to do it.
Very good point. To be
Messing with `current-namespace` seems like overkill, though maybe this
approach is too naive for your needs, which just involves hiding the `defun`
identifiers in the current namespace with a `defun:` prefix, then using `#%app`
to pull them out again.
#lang racket
(require rackunit
Josh Tilles wrote on 04/11/2016 07:51 PM:
I'm trying to implement a Lisp-2 in Racket,
I would first decide whether and how I want functions and variables
provided by modules in this language, to be usable from modules in other
`#lang`s. That narrows down the options of how to do it.
If
5 matches
Mail list logo