Skip to content

Commit

Permalink
#4 [doc] added boolean to grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
vityaman committed Dec 11, 2023
1 parent ba6b60e commit 8aaa9e7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/lang/sleepy.g4
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ atomic
: SYMBOL
| INTEGER
| STRING
| BOOLEAN
;

application
Expand All @@ -42,6 +43,11 @@ lambdaParameter
: SYMBOL SYMBOL
;

BOOLEAN
: TRUE
| FALSE
;

SYMBOL
: LETTER+
;
Expand Down Expand Up @@ -127,4 +133,16 @@ DOT

COMMENT_OUT
: ';'
;

SELF
: 'self'
;

TRUE
: 'true'
;

FALSE
: 'false'
;

0 comments on commit 8aaa9e7

Please sign in to comment.