cpl-rewrite #1

Merged
edraft merged 11 commits from cpl-rewrite into master 2021-10-27 09:22:26 +02:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 62f8e86409 - Show all commits

View File

@ -18,6 +18,7 @@ class LanguageDefinition:
Keywords.Length.value,
Keywords.Range.value,
Keywords.Exit.value,
Keywords.ForEach.value,
# normal keywords
Keywords.If.value,
Keywords.ElseIf.value,
@ -28,6 +29,7 @@ class LanguageDefinition:
# loops
Keywords.While.value,
Keywords.For.value,
Keywords.Foreach.value,
# access
Keywords.Public.value,
Keywords.This.value

View File

@ -16,6 +16,7 @@ class Keywords(Enum):
Length = 'length'
Range = 'range'
Exit = 'exit'
ForEach = 'forEach'
# normal keywords
If = 'if'
@ -28,6 +29,7 @@ class Keywords(Enum):
# loops
While = 'while'
For = 'for'
Foreach = 'foreach'
# access
Public = 'public'