John Kerl
af1adf80ad
Replace GOCC parser-generator with PGPG ( #2015 )
...
* Porting
* Update some tests that depend on AST-print output
* iterating on GOCC -> PGPG
* iterating
* iterating
* iterating
* iterating
* iterating
* Modify expout files that need only AST-print-syntax updates
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* iterating
* sync test cases from mlr-6.17.0, except AST-prints ...
* sync test cases from mlr-6.17.0, except AST-prints ...
* Fix lashed emit for $* and @*
* Fix --1 and ++1 chained unary ops
* Emit with function callsite
* test cases
* dot operator
* M_PI and M_E
* Iterating on lashed emit cases
* error-wording differences
* rm some should-fail files
* Fix issue with leading semicolon
* trailing comma in func params; most AST-print deltas
* error-wording delta
* fix unset all
* AST-print deltas
* go mod tidy: forced `go 1.25` to `go 1.25.0`
* Depend on PGPG v1.0.0
* Fix Windows CI failure
* Remove cmd/experiments/dsl_parser
* GOCC -> PGPG
* neaten
* Fix regex issue found in doc gen
2026-03-15 22:28:57 -04:00
John Kerl
d0079a9dac
Simplify positional-indexing syntax in mlr.bnf; push logic to .go source ( #2008 )
...
* Move `$[[...]]` and `$[[[...]]]` out of the grammar and into Go
* Update pkg/parsing/mlr.bnf
* Update Go source
* update test files
* Fix NPE
* .gitignore
* more
2026-03-04 21:48:09 -05:00
John Kerl
5eb40c9e7b
Multiple style updates ( #1974 )
...
* Comment style
* IRecordTransformer -> RecordTransfomer
* make fmt
* else-return style mod
* snake-case -> camel-case
* Remove redundant err = nil and similar zero-value initializations.
* redundant break;
* bugfix
* neaten
* typofix
* simplify/standardize init of zero-length slices
* Standardize fmt.Fprintf w/ errors
* fix double print of "mlr:"
* neatening
* Uniformize error messages
* make docs
* avoid shadowing package names
* shorten some receiver names
2026-02-16 15:49:21 -05:00
John Kerl
047cb4bc28
Static-check fixes from @lespea #1657 , batch 1/n ( #1703 )
2024-10-27 11:42:43 -04:00
John Kerl
ae61dc5a4f
Fix precedence of coalesce operators ?? and ??? ( #1270 )
...
* Fix precedence of coalesce operators
* GOCC codegen
* unit-test updates
* operator-precedence documentation
* doc-build artifacts
2023-04-15 23:33:49 -04:00
John Kerl
1c5e97b93c
Fix bug on DSL comment with no final newline ( #1216 )
2023-03-03 21:42:10 -05:00
John Kerl
2e727829c4
Accept + in exponent of scientific-notation floating-point DSL literals ( #1020 )
...
* Accept + in scientific-notation floating-point DSL literals
* Parser-generator artifacts; unit-test update; go mod update
2022-05-01 23:39:03 -04:00
John Kerl
42a39a86ac
Use fixed OFMT for multi-platform regression-testing ( #988 )
...
* Use fixed OFMT for multi-platform regression-testing
* Update regression tests to use fixed OFMT
2022-03-16 14:44:42 -04:00
John Kerl
d67868bd33
Add Inf and NaN literals to the DSL ( #933 )
...
* Add Inf and NaN literals to the DSL
* Parser-build artifacts
* is_nan DSL function
* doc-build artifacts
* webdoc material
2022-02-08 09:58:50 -05:00
John Kerl
b903227a5c
Continue #856 ( #865 )
...
* Continue from #856
* Update expected-fail messages in test cases
2022-01-11 19:42:08 -05:00
John Kerl
e2b6ec2391
Standardize Go-package structure ( #746 )
2021-11-11 14:15:13 -05:00