Skip to content

Is #lang dssl2 declaring all its info the right way? #37

@jasonhemann

Description

@jasonhemann

I'm trying to pin down an issue on my system. When I use #lang dssl2 in emacs w/either racket-mode or racket-hash-lang-mode, the outputs don't get printed nicely, I instead see their sexp struct representation. The repl also refuses DSSL2 input. Something as simple as 5 yields a syntax error.

test.rkt> 5
+: contract violation
  expected: number?
  given: False
Context (plain):
 /Applications/Racket v8.15/collects/racket/private/port.rkt:37:5 
 /Applications/Racket v8.15/share/pkgs/parser-tools-lib/parser-tools/lex.rkt:240:14 lexer
 /Users/jhemann/Library/Racket/8.15/pkgs/dssl2/private/lexer.rkt:319:2 

I can work with other non-sexp language files like #lang algol60 and #lang datalog, so I'm wondering if there's something about dssl2 in particular.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions