Releases: ruby/lrama
Releases · ruby/lrama
v0.7.1
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#initializeby @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_followsby @yui-knk in #522 - Add diagram generation feature and integrate Railroad Diagrams by @ydah in #523
- Support
--profileoption by @yui-knk in #525 - Fix an error when specify
--define=fooby @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
--profileoption 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
expectto be%expectby @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
ResolvedConflicttype 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#initializeargument 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_settype 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_transitionsinstead of#shiftsby @yui-knk in #569 - Add a sample of simple JSON parser by @ydah in #563
- Introduce
Actionclasses to refactorStatetransitions by @yui-knk in #571 - Refactor inline rule handling to use inline? method for clarity by @ydah in #570
- Use
term_transitionsinstead oftransitionsby @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::ERBtype checking in Steepfile by @ydah in #591 - Enable
Lrama::Reportertype 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_ielrby @junk0612 in #595 - Type declarations of
StateandStatesby @yui-knk in #597 - Migrate counterexamples rbs to rbs-inline by @yui-knk in #598
- Refactor to use
pathtype 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
bitmaptype alias by @yui-knk in #604 - Optimize
split_statesby @junk0612 in #605 - Migrate
Grammar::Symbolrbs to rbs-inline by @yui-knk in #606 - Optimize
Lrama::Counterexamples#follow_lby @yui-knk in #607 - Use
bitmaptype by @yui-knk in #608 - Suppress
StateIteminstance 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=timeis specified by @yui-knk in #612 - Define
Triple#hashandTriple#eql?so thatvisitedhash lookup works correctly by @yui-knk in #613 - Optimize counter examples iteration of candidates by @yui-knk in #614
- Introduce
Bitmap::from_integerby @yui-knk in #615 - Remove unused
from_state_itemfromPathby @yui-knk in #616 - Refactor counterexamples by @yui-knk in #617
- Render counter example shift conflict path iteration and duration if
--trace=timeis specified by @yui-knk in #618 - Use
StateItem#typefor 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...
v0.7.0
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
-toption, which was reserved, to match bison and behave the same as--debugby @ydah in #504 - Pass
--with-parser=parse.yfor 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
-toption 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_queueis 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
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 ofemptyby @ydah in #473 - Use
TAG? token_declaration+instead oftoken_declaration+andTAG 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.lengthis greater thanlengthby @ydah in #477 - Add types to counterexamples by @Little-Rubyist in #483
- Add support for %type declarations using
%ntermin Nonterminal Symbols by @ydah in #485 - Refactoring with option in parser.y by @ydah in #484
- Fix argument type of
find_symbol_by_s_valueandfind_symbol_by_s_value!by @yui-knk in #486 - Specify
--parserfor RUN_OPTS and SPECOPTS when run test-all by @yui-knk in #488 - v0.6.11 by @ydah in #487
New Contributors
- @jbampton made their first contribution in #470
- @amomchilov made their first contribution in #482
Full Changelog: v0.6.10...v0.6.11
v0.6.10
What's Changed
- Fix an error for
Lrama::Grammar::ParameterizingRule::Rhs#resolve_user_codewhen 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.hinstead ofprinters.hin fixtures by @ydah in #416 - Use
require_relativein 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 offoo_optby @ydah in #422 - Use
string_as_idinstead ofSTRINGby @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.newinstead 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=termsoption by @S-H-GAMELINKS in #439 - Improve
--report=termscommand by @ydah in #440 - Add support
--report=rulesoption by @ydah in #441 - Introduce the
Lrama::TraceReporterclass 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
%locationsby @ydah in #446 - Improve
--reportoption by @ydah in #449 - Introduce the
-Wand--warningsoptions 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
grammardirectory 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,--verboseoption 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
- @koic made their first contribution in #419
- @S-H-GAMELINKS made their first contribution in #426
Full Changelog: v0.6.9...v0.6.10
v0.6.9
v0.6.8
v0.6.7
v0.6.6
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::GrammarFileclass by @ydah in #393 - Refactor State#xxx_transitions by @junk0612 in #395
- Introduce the
--trace=actionsoption 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
v0.6.4
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
%destructordeclaration 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