nasl 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.travis.yml +6 -1
- data/Gemfile +1 -4
- data/README.md +26 -0
- data/lib/nasl/grammar.racc +149 -10
- data/lib/nasl/parser/block.rb +7 -1
- data/lib/nasl/parser/case.rb +55 -0
- data/lib/nasl/parser/function.rb +28 -3
- data/lib/nasl/parser/namespace.rb +50 -0
- data/lib/nasl/parser/node.rb +11 -2
- data/lib/nasl/parser/obj_var.rb +41 -0
- data/lib/nasl/parser/object.rb +50 -0
- data/lib/nasl/parser/switch.rb +51 -0
- data/lib/nasl/token.rb +1 -1
- data/lib/nasl/tokenizer.rb +51 -14
- data/lib/nasl/version.rb +1 -1
- data/nasl.gemspec +4 -3
- data/test/unit/parser/test_namespace.rb +45 -0
- data/test/unit/parser/test_object.rb +75 -0
- data/test/unit/parser/test_switch.rb +96 -0
- data/test/unit/tokenizer/test_comment.rb +76 -1
- data/test/unit/tokenizer/test_operator_lookahead.rb +75 -0
- metadata +46 -20
- data/Gemfile.ci +0 -6