Jens Axel Søgaard
Jens Axel Søgaard
The following program provokes an error: ; prepare: no such column: GITHUB I suspect that (somewhere) there an "deta field name to sql fieldname" conversion missing. ``` #lang racket (require...
After syntax checking DrRacket supports some nice features: - Hovering over an identifier shows an arrow to its binding - Rightclicking an identifier allows (lexical scope aware) renaming of identifiers...
This may or may not be a bug in `nanopass-case`. If there were a nanopass-mailing list I would tried there before filing an issue. This works: ``` (let ([M (parse...
The following (Expr : Expr (e dest) -> Expr () [(let-values ,s (((,x ...) ,ce) ...) ,e) ; todo handle multiple values (let\* ([x0 (map first x)] [ce (map CExpr...
I ran into this error: ../../nanopass-framework-racket/private/pass.rkt:1188:42: tspec-pred: contract violation expected: tspec? given: #f in: the 1st argument of (-> tspec? (or/c #f identifier?)) contract from: /nanopass-framework-racket/private/records.rkt blaming: /nanopass-framework-racket/private/pass.rkt (assuming the...
The following error does not highlight the offending form in DrRacket. ``` define-language: unrecognized production in subtract in: (define (f φ ...) b) ```
Here are two examples of problematic errors from with-output-language: ``` #lang nanopass (define-language L (entry Expr) (terminals (symbol (s))) (Expr (e) s)) (with-output-language (L Foo) `,3) ``` This first example...
The following program gives the error: ../../Applications/Racket v6.2/collects/racket/contract/private/blame.rkt:143:0: make-language: contract violation expected: identifier? given: #f in: the 2nd argument of (-> identifier? identifier? (listof tspec?) (listof ntspec?) language?) contract from:...
When `nanopass-case` is called with a value V that no clauses match and there is no default else-clause the error message doesn't show the value V. The entire form is...
In the following program I expect DrRacket to color the t red. ``` (define-language L (entry e) (terminals (symbol (s))) (Expr (e) (s ...) => (t ...))) ``` Also note...