Skip to content

Releases: ruby/lrama

v0.7.1

27 Dec 02:53
2c7c8af

Choose a tag to compare

What's Changed

  • Fix the level of headings by @yui-knk in #516
  • Update steep-check CI task by @yui-knk in #518
  • More explanation for Digraph algorithm by @yui-knk in #517
  • Comments for Digraph#initialize by @yui-knk in #519
  • Fix formatting by @yui-knk in #520
  • Add comments for State methods by @yui-knk in #521
  • Fix comments about State#goto_follows by @yui-knk in #522
  • Add diagram generation feature and integrate Railroad Diagrams by @ydah in #523
  • Support --profile option by @yui-knk in #525
  • Fix an error when specify --define=foo by @ydah in #527
  • Enhance debug option handling to include 'parse.trace' definition by @ydah in #528
  • Enhance diagram display with hover effects and improved styling by @ydah in #529
  • Add --profile option to NEWS.md by @yui-knk in #530
  • Add RBS type annotations to StatesReporter methods and generate RBS signature by @ydah in #531
  • Remove unused Warning class and update Steepfile checks by @ydah in #532
  • Refactor ERB handling in Diagram and Output classes; introduce Lrama::ERB for template rendering by @ydah in #533
  • Make the rbs_inline task run when the steep task is run by @ydah in #535
  • Organized directories and classes by @ydah in #534
  • Reimplement IELR phase 2&3 with InadequacyAnnotation by @junk0612 in #524
  • Fix type declarations of InadequacyAnnotation by @yui-knk in #539
  • Change some trivial improvement by @ydah in #538
  • Add some comments for states.rb by @yui-knk in #540
  • Print conflicts of each state on output file by @yui-knk in #541
  • Add comments to states.rb by @yui-knk in #543
  • Render valid options for '--trace' and '--report' when invalid option is specified by @yui-knk in #544
  • Add warning output when using %require, which exists only for compatibility with Bison by @ydah in #478
  • Specify where a test case IELR grammar comes from by @yui-knk in #545
  • Remove GrammarValidator class and refactor grammar validation to States class by @ydah in #537
  • Add ';' to the end of nonterminal definitions by @yui-knk in #546
  • Clarify expect to be %expect by @yui-knk in #548
  • Fix ArgumentError by @yui-knk in #547
  • Refactor related parameterized rule and inline rule by @ydah in #536
  • Add syntax diagrams section to README for grammar development by @ydah in #550
  • Update version number in README to 0.7.0 by @ydah in #552
  • Inline type declarations of state related classes by @yui-knk in #553
  • Fix ResolvedConflict type declarations by @yui-knk in #554
  • Update railroad_diagrams gem version to 0.3.0 by @ydah in #555
  • Fix some warnings: assigned but unused variable by @ydah in #556
  • Add type declarations to Item by @yui-knk in #557
  • Remove duplicated instance variable initialization by @yui-knk in #558
  • Fix InadequacyAnnotation#initialize argument type by @yui-knk in #559
  • Add type declarations to State by @yui-knk in #560
  • Refactor transition by @yui-knk in #561
  • Introduce lookahead_set type alias by @yui-knk in #562
  • Use local variable to store interim data by @yui-knk in #564
  • Fix comment format to correctly reflect type annotation by @yui-knk in #565
  • Fix type declaration of lhs_contributions by @yui-knk in #566
  • Use #term_transitions instead of #shifts by @yui-knk in #569
  • Add a sample of simple JSON parser by @ydah in #563
  • Introduce Action classes to refactor State transitions by @yui-knk in #571
  • Refactor inline rule handling to use inline? method for clarity by @ydah in #570
  • Use term_transitions instead of transitions by @yui-knk in #572
  • Refactor inadequacy annotation by @yui-knk in #573
  • Add attributes for define and required by @ydah in #575
  • Rewrite to rbs_inline style type definitions for Lrama::Grammar::Code by @ydah in #577
  • Rewrite to rbs_inline style type definitions for Lrama::Grammar::Counter by @ydah in #578
  • Rewrite to rbs_inline style type definitions for Lrama::Grammar::PercentCode by @ydah in #579
  • Rewrite to rbs_inline style type definitions for Lrama::Grammar::Type by @ydah in #580
  • Add check in Steepfile by @ydah in #583
  • Fix type annotations by @yui-knk in #584
  • Fix tracer class type declarations by @yui-knk in #586
  • Example types by @yui-knk in #587
  • Conflict type by @yui-knk in #588
  • Refactor Lrama::Reporter::States by @ydah in #582
  • Refactor conflict reporting methods by @ydah in #581
  • Fix ielr tests by @junk0612 in #574
  • Refactor inadequacy list by @yui-knk in #589
  • Enable Lrama::ERB type checking in Steepfile by @ydah in #591
  • Enable Lrama::Reporter type checking in Steepfile by @ydah in #590
  • Refactor "lib/lrama/reporter/states.rb" by @yui-knk in #593
  • Sort out IERL computation order by @yui-knk in #592
  • Add RBS signature for Lrama::VERSION and Lrama::OptionParser by @ydah in #594
  • Update steep gem to 1.9.4 by @yui-knk in #596
  • Add a sample of SQL Parser by @ydah in #585
  • Optimize compute_ielr by @junk0612 in #595
  • Type declarations of State and States by @yui-knk in #597
  • Migrate counterexamples rbs to rbs-inline by @yui-knk in #598
  • Refactor to use path type by @yui-knk in #599
  • Remove needless comments by @yui-knk in #600
  • Save call stack profile result even if an exception is raised by @yui-knk in #601
  • Refactor Counterexamples by @yui-knk in #602
  • Refactor derivation by @yui-knk in #603
  • Define bitmap type alias by @yui-knk in #604
  • Optimize split_states by @junk0612 in #605
  • Migrate Grammar::Symbol rbs to rbs-inline by @yui-knk in #606
  • Optimize Lrama::Counterexamples#follow_l by @yui-knk in #607
  • Use bitmap type by @yui-knk in #608
  • Suppress StateItem instance creation by @yui-knk in #609
  • Don't create array for each lookahead-sensitive path candidate by @yui-knk in #610
  • Write duration information to stderr by @yui-knk in #611
  • Render counter example path iteration and duration if --trace=time is specified by @yui-knk in #612
  • Define Triple#hash and Triple#eql? so that visited hash lookup works correctly by @yui-knk in #613
  • Optimize counter examples iteration of candidates by @yui-knk in #614
  • Introduce Bitmap::from_integer by @yui-knk in #615
  • Remove unused from_state_item from Path by @yui-knk in #616
  • Refactor counterexamples by @yui-knk in #617
  • Render counter example shift conflict path iteration and duration if --trace=time is specified by @yui-knk in #618
  • Use StateItem#type for shortest path search method by @yui-knk in #619
  • Include state id into Counterexamples test cases by @yui-knk in #621
  • Use List structure to manage shift conflict path candidates to avoid `Ar...
Read more

v0.7.0

21 Jan 01:18
e275c97

Choose a tag to compare

What's Changed

  • Bump steep gem version to 1.9.2 by @ydah in #489
  • Update README.md in versions and branches by @ydah in #491
  • Use rbs-inline and rewrite bitmap.rb by @Little-Rubyist in #490
  • Bump rbs from v3.7.0 to v3.8.0 and steep from v1.9.2 to v1.9.3 by @Little-Rubyist in #492
  • Follow-up on development with rbs-inline by @ydah in #493
  • Add definition for Read sets and Follow sets by @yui-knk in #495
  • Optimize Lexer comment reading by @ydah in #494
  • Add RBS type signatures for TraceReporter and generate RBS file by @ydah in #497
  • Add RBS type signatures for Logger and generate RBS file by @ydah in #498
  • Simplify inline rule resolution using shorthand syntax for block arguments by @ydah in #500
  • Add test job for multiple compilers for C by @ydah in #499
  • Move processing of lhs_s_value method to Binding class by @ydah in #501
  • Reorder RBS collection installation in CI workflow by @ydah in #503
  • Change the -t option, which was reserved, to match bison and behave the same as --debug by @ydah in #504
  • Pass --with-parser=parse.y for ruby build by @yui-knk in #505
  • Add 'only-explicit-rules' option to display explicit grammar rules by @ydah in #496
  • Update NEWS.md for Lrama 0.7.0 release notes, adding support for -t option and tracing only explicit rules by @ydah in #507
  • Update rbs gem version to 3.8.1 by @ydah in #508
  • Replace with rbs-inline style type definition in lexer directory by @ydah in #509
  • Refactor for Lrama::Grammar::Binding by @ydah in #510
  • Retire ubuntu-20.04 by @ydah in #511
  • Support IELR(1) Parser Generation by @junk0612 in #398
  • Add GitHub Actions workflow for deploying Lrama documentation to GitHub Pages by @ydah in #502
  • Add documentation in README and gemspec by @ydah in #512
  • transition_queue is not used by @yui-knk in #514
  • Migrate digraph type declarations to rbs-inline by @yui-knk in #515
  • v0.7.0 by @ydah in #513

Full Changelog: v0.6.11...v0.7.0

v0.6.11

23 Dec 06:17
ebdadac

Choose a tag to compare

What's Changed

  • Document for compressed state table by @yui-knk in #469
  • Update NEWS.md - fix spelling by @jbampton in #470
  • Fix a typo by @ydah in #471
  • Bump rbs from v3.5.3 to v3.6.0 and steep from v1.7.1 to v1.8.0 by @ydah in #472
  • Use "%empty"? instead of empty by @ydah in #473
  • Use TAG? token_declaration+ instead of token_declaration+ and TAG token_declaration+ by @ydah in #474
  • Use string_as_id? by @ydah in #476
  • Use grouping instead of generic_symbol by @ydah in #475
  • [DOC] Add syntax highlighting to MarkDown code blocks by @amomchilov in #482
  • Bump rbs from v3.6.0 to v3.7.0 and steep from v1.8.0 to v1.8.1 by @ydah in #481
  • Fix an error when str.length is greater than length by @ydah in #477
  • Add types to counterexamples by @Little-Rubyist in #483
  • Add support for %type declarations using %nterm in Nonterminal Symbols by @ydah in #485
  • Refactoring with option in parser.y by @ydah in #484
  • Fix argument type of find_symbol_by_s_value and find_symbol_by_s_value! by @yui-knk in #486
  • Specify --parser for RUN_OPTS and SPECOPTS when run test-all by @yui-knk in #488
  • v0.6.11 by @ydah in #487

New Contributors

Full Changelog: v0.6.10...v0.6.11

v0.6.10

12 Sep 12:06
ea5306c

Choose a tag to compare

What's Changed

  • Fix an error for Lrama::Grammar::ParameterizingRule::Rhs#resolve_user_code when multiple execute method by @ydah in #411
  • Add .vscode to .gitignore by @ydah in #413
  • Refactor for parameterizing_rule_resolver by @ydah in #412
  • Trivial fixes by @ydah in #415
  • Use include target destructors.h instead of printers.h in fixtures by @ydah in #416
  • Use require_relative in the Lrama codebase by @koic in #419
  • add grammar/code directory types by @Little-Rubyist in #417
  • Add support for adjusting Index to Inline by @ydah in #394
  • Racc 1.8.0 by @yui-knk in #421
  • Use foo? instead of foo_opt by @ydah in #422
  • Use string_as_id instead of STRING by @ydah in #423
  • Add support for Named Reference in parameterizing rules callers by @ydah in #414
  • Add support for aliased Named References for actions of rhs in Parameterizing rules by @ydah in #410
  • Rename Lrama::Grammar::Rule#to_s to Lrama::Grammar:Rule::display_name by @S-H-GAMELINKS in #426
  • Apply frozen string literal magic comment by @koic in #424
  • Use StringIO.new instead of "" by @ydah in #427
  • Fix warning when execute rspec by @ydah in #430
  • Change String not to be reassigned by @ydah in #428
  • Change to allow verification of memory usage by @ydah in #432
  • Add types in and around Grammar.rb by @Little-Rubyist in #433
  • Fix trivial typo in comment by @ydah in #434
  • Bump rbs from v3.4.4 to v3.5.1 by @ydah in #435
  • Fixes broken links in the table of contents of README by @ydah in #436
  • Use ";"? instead of rhs by @ydah in #438
  • Fix some rbs by @ydah in #437
  • Add support --report=terms option by @S-H-GAMELINKS in #439
  • Improve --report=terms command by @ydah in #440
  • Add support --report=rules option by @ydah in #441
  • Introduce the Lrama::TraceReporter class to organize the command.rb by @ydah in #444
  • Bump steep from v1.6.0 to v1.7.1 by @ydah in #445
  • Fix an error for initialization within YY_INITIAL_VALUE() with C++ by @ydah in #443
  • Ensure compatibility with Bison for %locations by @ydah in #446
  • Improve --report option by @ydah in #449
  • Introduce the -W and --warnings options and support redefined parameterizing rules by @ydah in #448
  • Add NEWS v0.6.6~v0.6.9 by @ydah in #450
  • chore: Add RubyDoc documentation badge to README.md by @ydah in #451
  • Update link to LEGAL.md file in README.md by @ydah in #452
  • chore: Change rake command to use bundle exec in README by @ydah in #453
  • Check grammar directory and fix some types by @Little-Rubyist in #455
  • Widen the definable position of parameterizing rules by @ydah in #420
  • chore: Exclude sample directory from gemspec files by @ydah in #454
  • Adjust the output of the trace help command by @ydah in #456
  • Add support -v, --verbose option by @ydah in #457
  • Add types to classes in state directory by @Little-Rubyist in #458
  • Bump rbs from v3.5.1 to v3.5.2 by @ydah in #459
  • Fixes some trivial formatting by @ydah in #462
  • Add types to states by @Little-Rubyist in #463
  • chore: Update racc gem to version 1.8.1 by @ydah in #464
  • Organize parser.y by @ydah in #460
  • Add CI env for C++ and fix errors and warnings when compiling as C++ by @ydah in #465
  • chore: Update rbs gem to version 3.5.3 by @ydah in #466
  • v0.6.10 by @ydah in #467

New Contributors

Full Changelog: v0.6.9...v0.6.10

v0.6.9

02 May 04:32
f8c0232

Choose a tag to compare

What's Changed

  • Add support for the callee side tag specification of parameterizing rules by @ydah in #408
  • Add support for Named References for actions of rhs in Parameterizing rules by @ydah in #407
  • v0.6.9 by @yui-knk in #409

Full Changelog: v0.6.8...v0.6.9

v0.6.8

29 Apr 06:11
bf3a016

Choose a tag to compare

What's Changed

  • Adding an overview of Inlining to the README by @ydah in #403
  • Organize Parameterizing rules testing by @ydah in #404
  • Add support nested parameterizing rules with tag by @ydah in #405
  • v0.6.8 by @yui-knk in #406

Full Changelog: v0.6.7...v0.6.8

v0.6.7

28 Apr 04:38
23f305c

Choose a tag to compare

What's Changed

  • Add support for RHS of user-defined parameterizing rules contain symbol? , symbol+, and symbol* by @ydah in #401
  • v0.6.7 by @yui-knk in #402

Full Changelog: v0.6.6...v0.6.7

v0.6.6

27 Apr 01:06
2a0ac76

Choose a tag to compare

What's Changed

  • Introduce Inlining by @ydah in #369
  • Truncate GrammarFile's @text when inspecting by @junk0612 in #392
  • Omit too long text when printing module Lrama::Lexer::GrammarFile class by @ydah in #393
  • Refactor State#xxx_transitions by @junk0612 in #395
  • Introduce the --trace=actions option by @ydah in #396
  • Remove , from Rule print format by @yui-knk in #397
  • Fix an error for using parameterizing rules with own stack in semantic action by @ydah in #399
  • v0.6.6 by @yui-knk in #400

Full Changelog: v0.6.5...v0.6.6

v0.6.5

25 Mar 00:20
7e2c745

Choose a tag to compare

What's Changed

Full Changelog: v0.6.4...v0.6.5

v0.6.4

22 Mar 02:53
33a658c

Choose a tag to compare

What's Changed

  • Remove unnecessary definitions from rbs by @ydah in #373
  • Improve error message for symbols by @ydah in #374
  • Show valid arguments for command line options by @nobu in #375
  • Add rbs for lib/lrama/options.rb by @ydah in #376
  • Minimal BASERUBY version was updated to 3.0 by @yui-knk in #378
  • Update rbs by @yui-knk in #377
  • Use RSpec instead of Rspec by @ydah in #379
  • Add Counterexamples group in SimpleCov by @ydah in #380
  • Fix an issue in a user-defined parameterizing rule where the caller cannot access $$ in the rule by @ydah in #381
  • Fix test data with syntax errors by @ydah in #383
  • Add sequences in Standard libraries by @ydah in #382
  • Support %destructor declaration by @yui-knk in #385
  • Update NEWS.md by @yui-knk in #386
  • v0.6.4 by @yui-knk in #387

Full Changelog: v0.6.3...v0.6.4