-
The following program gives an error not in the user program but in the framework.
# lang nanopass
(define (constant? c)
(number? c))
(define-language L
(terminals
(constant (c)))
(Expr (e…
-
The error message should probably be:
```
"unrecognized language record in ~a"
```
https://github.com/akeep/nanopass-framework-racket/blob/master/private/unparser.rkt#L145
-
It seems that the Chez Scheme error procedure use a different convention than Racket.
Racket expects the following: (error src format-string v ...)
If there are no ~a (or similar) in the format …
-
@eholk I run the command "./harlanc test/hello.kfc" and it took over 2 minutes. But finally I got runnable file "hello". Is that normal? And why it took so long?
-
Vicare is a fork of Ikarus that seems to be actively maintained. If we used Vicare, it could be a submodule of Harlan, and we could remove the "Install Petite Chez Scheme" step from the install instru…
-
There's probably not a lot of point in rewriting most of our passes, but for new passes we might as well use the Nanopass framework.
eholk updated
11 years ago
-
I may be misunderstanding something here, but I'm having trouble with languages that incorporate boolean values. A totally barebones example follows:
> (define-language test-l
> (terminals (bo…
tufty updated
11 years ago
-
Hi!
This seems like a very useful project, but I couldn't find any license attached to it.
I'd like to refactor my own small compiler using the nanopass technique and it would
be nice to reuse some p…