Skip to content

Commit

Permalink
added import of (chicken format) to make-lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
iraikov committed May 20, 2020
1 parent 77c3364 commit 2e472fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Representation of values in the template language. The value definitions are:
- `(Tobj (x tvalue-alist?))` : template objects; represented as alists where the key is a symbol and the value is a `tvalue`
- `(Tlist (x tvalue-list?))` : lists
- `(Tset (x tvalue-list?))` : sets
- `(Tvector (x vector?))` : vectors
- `(Tfun (p procedure?))` : template functions

Template values are represented by the following s-expressions:
Expand Down Expand Up @@ -428,7 +429,7 @@ Template values are represented by the following s-expressions:
### License

>
> Copyright 2012-2018 Ivan Raikov.
> Copyright 2012-2020 Ivan Raikov.
>
> This program is free software: you can redistribute it and/or modify
> it under the terms of the GNU General Public License as published by
Expand All @@ -442,4 +443,4 @@ Template values are represented by the following s-expressions:
>
> A full copy of the GPL license can be found at
> <http://www.gnu.org/licenses/>.
>
>
2 changes: 1 addition & 1 deletion parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
(close-input-port in)

(let ((module-contents
`(module ,lexer-proc * (import scheme (chicken base) (chicken string))
`(module ,lexer-proc * (import scheme (chicken base) (chicken format) (chicken string))

(import datatype utf8-srfi-13 utf8-srfi-14 lalr-driver)

Expand Down

0 comments on commit 2e472fe

Please sign in to comment.