Skip to content

Commit

Permalink
feat(token.yml): enable tokens for functions
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhithya committed May 16, 2022
1 parent b5c54fc commit 718ca1c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rajinipp/token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ PRINT: "DOT"
SEMI_COLON: \;
L_BRACE: \{
R_BRACE: \}
# COLON: "\:"

###* VARS *###
NUMBER: \d+(:?\.\d+)?
WORD: "[a-z]+"
WORD: "[a-z_]+"
STRING: \".*?\"
BOOL_TRUE: "True"
BOOL_FALSE: "False"
Expand Down Expand Up @@ -49,3 +50,7 @@ FOR_RANGE_START: "THADAVA SONNA(?! MADHRI)"
FOR_RANGE_END: "THADAVA SONNA MADHRI"
END_BLOCK: "KATHAM KATHAM"
BREAK_LOOP: "BLACK SHEEP"
FUNC_DECLARE: "EN VAZHI THANI VAZHI"
END_FUNC: "MARAKKADHINGA"
FUNC_RETURN: "IDHU EPDI IRUKKU"
FUNC_CALL: "CHUMMA ADHURUDHULA"

0 comments on commit 718ca1c

Please sign in to comment.