From 212dd66966a873e3d7183b071f719ef58e4d88fe Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 3 Jan 2015 02:31:14 -0400 Subject: - Beginning to implement compiler in the language itself. - The language can now handle more symbols on identifiers. --- src/lang/lexer.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lang/lexer.clj') 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 [ ] (def -- cgit v1.2.3