diff options
author | Eduardo Julian | 2015-01-03 02:31:14 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-01-03 02:31:14 -0400 |
commit | 212dd66966a873e3d7183b071f719ef58e4d88fe (patch) | |
tree | 0768fad2a0a88e7a91d7b542f32471a02eaea9b7 /src/lang/lexer.clj | |
parent | 648110a554a13e1caaf846a60c85cccadcda6e0d (diff) |
- Beginning to implement compiler in the language itself.
- The language can now handle more symbols on identifiers.
Diffstat (limited to '')
-rw-r--r-- | src/lang/lexer.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lang/lexer.clj b/src/lang/lexer.clj index 9fa533dc5..7b23c5947 100644 --- a/src/lang/lexer.clj +++ b/src/lang/lexer.clj @@ -52,7 +52,7 @@ ;; [Lexers] (def ^:private lex-white-space (lex-regex #"^(\s+)")) -(def +ident-re+ #"^([a-zA-Z\-\+\_\=!@$%^&*<>\.,/\\\|':\~][0-9a-zA-Z\-\+\_\=!@$%^&*<>\.,/\\\|':\~]*)") +(def +ident-re+ #"^([a-zA-Z\-\+\_\=!@$%^&*<>\.,/\\\|':\~\?][0-9a-zA-Z\-\+\_\=!@$%^&*<>\.,/\\\|':\~\?]*)") (do-template [<name> <tag> <regex>] (def <name> |