summary refs log tree commit diff stats
path: root/tests/stdlib/tpegs.nim
Commit message (Collapse)AuthorAgeFilesLines
* stdlib tests now check refc too (#21664)ringabout2023-04-211-0/+1
| | | | | | | | | | | * stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
* fixes #21632; enforce deref for `wasMoved` in ORC (#21647)ringabout2023-04-121-1/+10
| | | fixes #21632; enforce deref for `wasMoved`
* fixes #19162; enable `strictEffects` for v2 (#19380)ringabout2022-10-151-3/+3
| | | | | | | | | | | | | | | | | | | * enable stricteffects * add gcsafe * fix tests * use func * fixes pegs tests * explicitly mark repr related procs with noSideEffect * add nimLegacyEffects * change URL * fixes docopt * add `raises: []` to repr * fixes weave * fixes nimyaml * fixes glob * fixes parsetoml * Apply suggestions from code review * Update testament/important_packages.nim * add legacy:laxEffects
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
* fixes #19104; peg Incorrect captures [backport:1.6] (#20352)ringabout2022-09-151-0/+4
| | | | | | | * fixes #19104; peg Incorrect captures [backport:1.6] * add tests Co-authored-by: khchen <khchen@gmail.com>
* Add support for `strictEffects` to `std/pegs` (#18949)quantimnot2021-10-041-0/+3
| | | | | | | * Add support for `strictEffects` to `std/pegs` * Fixed support of older Nim versions Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* Peg captures get stack-like behavior (#18369)gemath2021-06-281-0/+28
| | | | | * Implements reverse capture indexing. * Now works for modified backrefs too. * Changed reverse indexing syntax prefix for back-references to '$^'.
* [std/pegs] increase test coverage (#17871)flywind2021-04-271-4/+154
|
* use doAssert in tests (#16486)flywind2020-12-281-1/+1
|
* StringStream & more stdlib modules support for JS/NimScript (#14095)hlaaftana2020-04-281-0/+1
| | | | | * StringStream & more stdlib modules support for JS/NimScript * change back pegs test in line with #14134
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-36/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* Pegs AST read access (#8050)gemath2018-06-191-0/+78
| | | | | | | | | | | | * Make PEG AST nodes readable from outside the module. * Added a test module for the pegs stdlib module. * Edited changelog. * Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both. * Updated entry and moved it to the right category.
* update the documentation about the new strings/seqs behavioursAndreas Rumpf2018-04-291-1770/+0
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-11/+11
|
* makes tests greenAndreas Rumpf2016-01-151-1/+1
|
* renamed writeln to writeLine in testspatrick dw2015-06-191-173/+173
|
* Get rid of deprecation warnings in pegsdef2015-01-161-14/+14
|
* release of 0.10.2Araq2014-12-291-32/+32
|
* further adaptationsAraq2014-08-291-5/+5
|
* make some tests greenZahary Karadjov2014-03-161-1/+1
|
* Changed tests and tools to use 'discard' statements instead of 'nil' for ↵Clay Sweetser2014-02-151-7/+7
| | | | empty blocks.
* new tester; all tests categorizedAraq2014-01-131-0/+1770