diff --git a/lib/parser/keywords.rb b/lib/parser/keywords.rb new file mode 100644 index 00000000..634f9b17 --- /dev/null +++ b/lib/parser/keywords.rb @@ -0,0 +1,9 @@ +module Parser + module Keywords + include Parslet + rule(:keyword_if) { str('if') >> space? } + rule(:keyword_else) { str('else') >> space? } + rule(:keyword_def) { str('def') >> space? } + + end +end \ No newline at end of file diff --git a/lib/parser/operators.rb b/lib/parser/operators.rb new file mode 100644 index 00000000..e69de29b