├── .gitignore ├── Gemfile ├── History.txt ├── LICENSE ├── README.md ├── Rakefile ├── Treetop.tmbundle ├── Preferences │ └── Comments.tmPreferences ├── Snippets │ ├── grammar ___ end.tmSnippet │ └── rule ___ end.tmSnippet ├── Support │ ├── nibs │ │ └── SyntaxTreeViewer.nib │ │ │ ├── designable.nib │ │ │ └── keyedobjects.nib │ └── syntax_tree_viewer.rb ├── Syntaxes │ └── Treetop Grammar.tmLanguage └── info.plist ├── benchmark ├── seqpar.gnuplot ├── seqpar.treetop └── seqpar_benchmark.rb ├── bin └── tt ├── doc ├── .DS_Store ├── contributing_and_planned_features.markdown ├── grammar_composition.markdown ├── index.markdown ├── pitfalls_and_advanced_techniques.markdown ├── semantic_interpretation.markdown ├── site.rb ├── site │ ├── images │ │ ├── bottom_background.png │ │ ├── middle_background.png │ │ ├── paren_language_output.png │ │ ├── pivotal.gif │ │ └── top_background.png │ ├── robots.txt │ └── screen.css ├── sitegen.rb ├── syntactic_recognition.markdown ├── tt.1 └── using_in_ruby.markdown ├── examples └── lambda_calculus │ ├── arithmetic.rb │ ├── arithmetic.treetop │ ├── arithmetic_node_classes.rb │ ├── arithmetic_test.rb │ ├── lambda_calculus │ ├── lambda_calculus.rb │ ├── lambda_calculus.treetop │ ├── lambda_calculus_node_classes.rb │ ├── lambda_calculus_test.rb │ └── test_helper.rb ├── lib ├── treetop.rb └── treetop │ ├── bootstrap_gen_1_metagrammar.rb │ ├── compiler.rb │ ├── compiler │ ├── grammar_compiler.rb │ ├── lexical_address_space.rb │ ├── metagrammar.rb │ ├── metagrammar.treetop │ ├── node_classes.rb │ ├── node_classes │ │ ├── anything_symbol.rb │ │ ├── atomic_expression.rb │ │ ├── character_class.rb │ │ ├── choice.rb │ │ ├── declaration_sequence.rb │ │ ├── grammar.rb │ │ ├── inline_module.rb │ │ ├── nonterminal.rb │ │ ├── optional.rb │ │ ├── parenthesized_expression.rb │ │ ├── parsing_expression.rb │ │ ├── parsing_rule.rb │ │ ├── predicate.rb │ │ ├── predicate_block.rb │ │ ├── repetition.rb │ │ ├── sequence.rb │ │ ├── terminal.rb │ │ ├── transient_prefix.rb │ │ └── treetop_file.rb │ └── ruby_builder.rb │ ├── polyglot.rb │ ├── ruby_extensions.rb │ ├── ruby_extensions │ └── string.rb │ ├── runtime.rb │ ├── runtime │ ├── compiled_parser.rb │ ├── interval_skip_list.rb │ ├── interval_skip_list │ │ ├── head_node.rb │ │ ├── interval_skip_list.rb │ │ └── node.rb │ ├── syntax_node.rb │ ├── terminal_parse_failure.rb │ └── terminal_syntax_node.rb │ └── version.rb ├── script ├── generate_metagrammar.rb ├── svnadd └── svnrm ├── spec ├── compiler │ ├── and_predicate_spec.rb │ ├── anything_symbol_spec.rb │ ├── character_class_spec.rb │ ├── choice_spec.rb │ ├── circular_compilation_spec.rb │ ├── failure_propagation_functional_spec.rb │ ├── grammar_compiler_spec.rb │ ├── grammar_spec.rb │ ├── multibyte_chars_spec.rb │ ├── namespace_spec.rb │ ├── nonterminal_symbol_spec.rb │ ├── not_predicate_spec.rb │ ├── occurrence_range_spec.rb │ ├── one_or_more_spec.rb │ ├── optional_spec.rb │ ├── parenthesized_expression_spec.rb │ ├── parsing_rule_spec.rb │ ├── repeated_subrule_spec.rb │ ├── semantic_predicate_spec.rb │ ├── sequence_spec.rb │ ├── terminal_spec.rb │ ├── terminal_symbol_spec.rb │ ├── test_grammar.treetop │ ├── test_grammar.tt │ ├── test_grammar_do.treetop │ ├── test_grammar_magic_coding.treetop │ ├── test_grammar_magic_encoding.treetop │ ├── tt_compiler_spec.rb │ └── zero_or_more_spec.rb ├── composition │ ├── a.treetop │ ├── b.treetop │ ├── c.treetop │ ├── d.treetop │ ├── f.treetop │ ├── grammar_composition_spec.rb │ └── subfolder │ │ └── e_includes_c.treetop ├── ruby_extensions │ └── string_spec.rb ├── runtime │ ├── compiled_parser_spec.rb │ ├── interval_skip_list │ │ ├── delete_spec.rb │ │ ├── expire_range_spec.rb │ │ ├── insert_and_delete_node_spec.rb │ │ ├── insert_spec.rb │ │ ├── interval_skip_list_spec.graffle │ │ ├── interval_skip_list_spec.rb │ │ ├── palindromic_fixture.rb │ │ ├── palindromic_fixture_spec.rb │ │ └── spec_helper.rb │ └── syntax_node_spec.rb └── spec_helper.rb └── treetop.gemspec /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Gemfile -------------------------------------------------------------------------------- /History.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/History.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Rakefile -------------------------------------------------------------------------------- /Treetop.tmbundle/Preferences/Comments.tmPreferences: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Preferences/Comments.tmPreferences -------------------------------------------------------------------------------- /Treetop.tmbundle/Snippets/grammar ___ end.tmSnippet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Snippets/grammar ___ end.tmSnippet -------------------------------------------------------------------------------- /Treetop.tmbundle/Snippets/rule ___ end.tmSnippet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Snippets/rule ___ end.tmSnippet -------------------------------------------------------------------------------- /Treetop.tmbundle/Support/nibs/SyntaxTreeViewer.nib/designable.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Support/nibs/SyntaxTreeViewer.nib/designable.nib -------------------------------------------------------------------------------- /Treetop.tmbundle/Support/nibs/SyntaxTreeViewer.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Support/nibs/SyntaxTreeViewer.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Treetop.tmbundle/Support/syntax_tree_viewer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Support/syntax_tree_viewer.rb -------------------------------------------------------------------------------- /Treetop.tmbundle/Syntaxes/Treetop Grammar.tmLanguage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/Syntaxes/Treetop Grammar.tmLanguage -------------------------------------------------------------------------------- /Treetop.tmbundle/info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/Treetop.tmbundle/info.plist -------------------------------------------------------------------------------- /benchmark/seqpar.gnuplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/benchmark/seqpar.gnuplot -------------------------------------------------------------------------------- /benchmark/seqpar.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/benchmark/seqpar.treetop -------------------------------------------------------------------------------- /benchmark/seqpar_benchmark.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/benchmark/seqpar_benchmark.rb -------------------------------------------------------------------------------- /bin/tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/bin/tt -------------------------------------------------------------------------------- /doc/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/.DS_Store -------------------------------------------------------------------------------- /doc/contributing_and_planned_features.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/contributing_and_planned_features.markdown -------------------------------------------------------------------------------- /doc/grammar_composition.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/grammar_composition.markdown -------------------------------------------------------------------------------- /doc/index.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/index.markdown -------------------------------------------------------------------------------- /doc/pitfalls_and_advanced_techniques.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/pitfalls_and_advanced_techniques.markdown -------------------------------------------------------------------------------- /doc/semantic_interpretation.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/semantic_interpretation.markdown -------------------------------------------------------------------------------- /doc/site.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site.rb -------------------------------------------------------------------------------- /doc/site/images/bottom_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/images/bottom_background.png -------------------------------------------------------------------------------- /doc/site/images/middle_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/images/middle_background.png -------------------------------------------------------------------------------- /doc/site/images/paren_language_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/images/paren_language_output.png -------------------------------------------------------------------------------- /doc/site/images/pivotal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/images/pivotal.gif -------------------------------------------------------------------------------- /doc/site/images/top_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/images/top_background.png -------------------------------------------------------------------------------- /doc/site/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/robots.txt -------------------------------------------------------------------------------- /doc/site/screen.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/site/screen.css -------------------------------------------------------------------------------- /doc/sitegen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/sitegen.rb -------------------------------------------------------------------------------- /doc/syntactic_recognition.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/syntactic_recognition.markdown -------------------------------------------------------------------------------- /doc/tt.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/tt.1 -------------------------------------------------------------------------------- /doc/using_in_ruby.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/doc/using_in_ruby.markdown -------------------------------------------------------------------------------- /examples/lambda_calculus/arithmetic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/arithmetic.rb -------------------------------------------------------------------------------- /examples/lambda_calculus/arithmetic.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/arithmetic.treetop -------------------------------------------------------------------------------- /examples/lambda_calculus/arithmetic_node_classes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/arithmetic_node_classes.rb -------------------------------------------------------------------------------- /examples/lambda_calculus/arithmetic_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/arithmetic_test.rb -------------------------------------------------------------------------------- /examples/lambda_calculus/lambda_calculus: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/lambda_calculus/lambda_calculus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/lambda_calculus.rb -------------------------------------------------------------------------------- /examples/lambda_calculus/lambda_calculus.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/lambda_calculus.treetop -------------------------------------------------------------------------------- /examples/lambda_calculus/lambda_calculus_node_classes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/lambda_calculus_node_classes.rb -------------------------------------------------------------------------------- /examples/lambda_calculus/lambda_calculus_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/lambda_calculus_test.rb -------------------------------------------------------------------------------- /examples/lambda_calculus/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/examples/lambda_calculus/test_helper.rb -------------------------------------------------------------------------------- /lib/treetop.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop.rb -------------------------------------------------------------------------------- /lib/treetop/bootstrap_gen_1_metagrammar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/bootstrap_gen_1_metagrammar.rb -------------------------------------------------------------------------------- /lib/treetop/compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/grammar_compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/grammar_compiler.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/lexical_address_space.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/lexical_address_space.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/metagrammar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/metagrammar.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/metagrammar.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/metagrammar.treetop -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/anything_symbol.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/anything_symbol.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/atomic_expression.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/atomic_expression.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/character_class.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/character_class.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/choice.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/choice.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/declaration_sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/declaration_sequence.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/grammar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/grammar.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/inline_module.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/inline_module.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/nonterminal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/nonterminal.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/optional.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/optional.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/parenthesized_expression.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/parenthesized_expression.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/parsing_expression.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/parsing_expression.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/parsing_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/parsing_rule.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/predicate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/predicate.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/predicate_block.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/predicate_block.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/repetition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/repetition.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/sequence.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/terminal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/terminal.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/transient_prefix.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/transient_prefix.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/node_classes/treetop_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/node_classes/treetop_file.rb -------------------------------------------------------------------------------- /lib/treetop/compiler/ruby_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/compiler/ruby_builder.rb -------------------------------------------------------------------------------- /lib/treetop/polyglot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/polyglot.rb -------------------------------------------------------------------------------- /lib/treetop/ruby_extensions.rb: -------------------------------------------------------------------------------- 1 | require 'treetop/ruby_extensions/string' 2 | -------------------------------------------------------------------------------- /lib/treetop/ruby_extensions/string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/ruby_extensions/string.rb -------------------------------------------------------------------------------- /lib/treetop/runtime.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/compiled_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/compiled_parser.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/interval_skip_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/interval_skip_list.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/interval_skip_list/head_node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/interval_skip_list/head_node.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/interval_skip_list/interval_skip_list.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/interval_skip_list/interval_skip_list.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/interval_skip_list/node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/interval_skip_list/node.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/syntax_node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/syntax_node.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/terminal_parse_failure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/terminal_parse_failure.rb -------------------------------------------------------------------------------- /lib/treetop/runtime/terminal_syntax_node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/runtime/terminal_syntax_node.rb -------------------------------------------------------------------------------- /lib/treetop/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/lib/treetop/version.rb -------------------------------------------------------------------------------- /script/generate_metagrammar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/script/generate_metagrammar.rb -------------------------------------------------------------------------------- /script/svnadd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/script/svnadd -------------------------------------------------------------------------------- /script/svnrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/script/svnrm -------------------------------------------------------------------------------- /spec/compiler/and_predicate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/and_predicate_spec.rb -------------------------------------------------------------------------------- /spec/compiler/anything_symbol_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/anything_symbol_spec.rb -------------------------------------------------------------------------------- /spec/compiler/character_class_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/character_class_spec.rb -------------------------------------------------------------------------------- /spec/compiler/choice_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/choice_spec.rb -------------------------------------------------------------------------------- /spec/compiler/circular_compilation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/circular_compilation_spec.rb -------------------------------------------------------------------------------- /spec/compiler/failure_propagation_functional_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/failure_propagation_functional_spec.rb -------------------------------------------------------------------------------- /spec/compiler/grammar_compiler_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/grammar_compiler_spec.rb -------------------------------------------------------------------------------- /spec/compiler/grammar_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/grammar_spec.rb -------------------------------------------------------------------------------- /spec/compiler/multibyte_chars_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/multibyte_chars_spec.rb -------------------------------------------------------------------------------- /spec/compiler/namespace_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/namespace_spec.rb -------------------------------------------------------------------------------- /spec/compiler/nonterminal_symbol_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/nonterminal_symbol_spec.rb -------------------------------------------------------------------------------- /spec/compiler/not_predicate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/not_predicate_spec.rb -------------------------------------------------------------------------------- /spec/compiler/occurrence_range_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/occurrence_range_spec.rb -------------------------------------------------------------------------------- /spec/compiler/one_or_more_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/one_or_more_spec.rb -------------------------------------------------------------------------------- /spec/compiler/optional_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/optional_spec.rb -------------------------------------------------------------------------------- /spec/compiler/parenthesized_expression_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/parenthesized_expression_spec.rb -------------------------------------------------------------------------------- /spec/compiler/parsing_rule_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/parsing_rule_spec.rb -------------------------------------------------------------------------------- /spec/compiler/repeated_subrule_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/repeated_subrule_spec.rb -------------------------------------------------------------------------------- /spec/compiler/semantic_predicate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/semantic_predicate_spec.rb -------------------------------------------------------------------------------- /spec/compiler/sequence_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/sequence_spec.rb -------------------------------------------------------------------------------- /spec/compiler/terminal_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/terminal_spec.rb -------------------------------------------------------------------------------- /spec/compiler/terminal_symbol_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/terminal_symbol_spec.rb -------------------------------------------------------------------------------- /spec/compiler/test_grammar.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/test_grammar.treetop -------------------------------------------------------------------------------- /spec/compiler/test_grammar.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/test_grammar.tt -------------------------------------------------------------------------------- /spec/compiler/test_grammar_do.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/test_grammar_do.treetop -------------------------------------------------------------------------------- /spec/compiler/test_grammar_magic_coding.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/test_grammar_magic_coding.treetop -------------------------------------------------------------------------------- /spec/compiler/test_grammar_magic_encoding.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/test_grammar_magic_encoding.treetop -------------------------------------------------------------------------------- /spec/compiler/tt_compiler_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/tt_compiler_spec.rb -------------------------------------------------------------------------------- /spec/compiler/zero_or_more_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/compiler/zero_or_more_spec.rb -------------------------------------------------------------------------------- /spec/composition/a.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/a.treetop -------------------------------------------------------------------------------- /spec/composition/b.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/b.treetop -------------------------------------------------------------------------------- /spec/composition/c.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/c.treetop -------------------------------------------------------------------------------- /spec/composition/d.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/d.treetop -------------------------------------------------------------------------------- /spec/composition/f.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/f.treetop -------------------------------------------------------------------------------- /spec/composition/grammar_composition_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/grammar_composition_spec.rb -------------------------------------------------------------------------------- /spec/composition/subfolder/e_includes_c.treetop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/composition/subfolder/e_includes_c.treetop -------------------------------------------------------------------------------- /spec/ruby_extensions/string_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/ruby_extensions/string_spec.rb -------------------------------------------------------------------------------- /spec/runtime/compiled_parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/compiled_parser_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/delete_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/delete_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/expire_range_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/expire_range_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/insert_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/insert_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/interval_skip_list_spec.graffle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/interval_skip_list_spec.graffle -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/interval_skip_list_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/interval_skip_list_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/palindromic_fixture.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/palindromic_fixture.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/palindromic_fixture_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/palindromic_fixture_spec.rb -------------------------------------------------------------------------------- /spec/runtime/interval_skip_list/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/interval_skip_list/spec_helper.rb -------------------------------------------------------------------------------- /spec/runtime/syntax_node_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/runtime/syntax_node_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /treetop.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nathansobo/treetop/HEAD/treetop.gemspec --------------------------------------------------------------------------------