Compare commits

...

2 Commits

Author SHA1 Message Date
Georges Dupéron
cc1dbf6d7f Ignore /doc/ folder 2016-04-01 13:31:30 +02:00
Georges Dupéron
a7b932630a Fix GitHub issue #2: REPL does not work with #lang datalog 2016-04-01 13:31:23 +02:00
2 changed files with 9 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
# Racket compiled files # Racket compiled files
compiled/ compiled/
# Generated documentation
/doc/
# common backups, autosaves, lock files, OS meta-files # common backups, autosaves, lock files, OS meta-files
*~ *~

View File

@ -25,7 +25,9 @@
(intro (thunk)))) (intro (thunk))))
(define (this-read-syntax [src #f] [in (current-input-port)]) (define (this-read-syntax [src #f] [in (current-input-port)])
((make-syntax-delta-introducer #'here #f)
(quasisyntax/loc src (quasisyntax/loc src
#,(compile-program #,(compile-program
(parameterize ([current-source-name src]) (parameterize ([current-source-name src])
(parse-program in)))))) (parse-program in))))
'remove)))