summary refs log tree commit diff stats
path: root/lib/impure/nre.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #15221 (#15230)Andreas Rumpf2020-08-271-1/+1
|
* better strict funcs, WIP (#15199)Andreas Rumpf2020-08-181-2/+4
| | | | | * better strict funcs, WIP * progress
* An optimizer for ARC (#14962)Andreas Rumpf2020-07-151-5/+5
| | | | | | | | | | | | | | | | | | | | * WIP: an optimizer for ARC * do not optimize away destructors in 'finally' if unstructured control flow is involved * optimized the optimizer * minor code cleanup * first steps to .cursor inference * cursor inference: big steps to a working solution * baby steps * better .cursor inference * new feature: expandArc for easy inspection of the AST after ARC transformations * added topt_cursor test * adapt tests * cleanups, make tests green * optimize common traversal patterns * moved test case * fixes .cursor inference so that npeg compiles once again * cursor inference: more bugfixes Co-authored-by: Clyybber <darkmine956@gmail.com>
* Add jsre (#14870)Juan Carlos2020-07-031-1/+1
|
* close #14284 document semantics for start for re,nre; improve examples (#14483)Timothee Cour2020-05-281-11/+17
|
* Fail quickly if re or nre module is attempted to be compiled with js ↵Kaushal Modi2020-05-141-0/+3
| | | | | [backport] (#14341) Fixes https://github.com/nim-lang/Nim/issues/14338 .
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-4/+4
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* change some Exceptions to CatchableError or Defect, fixes #10288 (#14069)hlaaftana2020-04-221-1/+1
|
* make nre compile with --gc:arcAraq2020-01-261-66/+54
|
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-2/+4
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* fixes #11139 (re.nim memory leak) (#11265)Miran2019-05-161-1/+0
| | | Use the same PCRE function for freeing up the memory as nre.nim does.
* Documentation import fixes (#11070)Zed2019-04-211-12/+9
| | | | | | * Move asyncdispatch imports below introduction * Move nre imports below documentation
* live with the hacks, PCRE's design is crapAraq2019-03-191-1/+1
|
* pcre.nim: added pcre_free and removed hacks in nre and re.nimAndreas Rumpf2019-03-191-1/+1
|
* make the stdlib work with the changed docgenAraq2019-01-111-4/+4
|
* Rework nil/option for nre in light of ""==nilFlaviu Tamas2018-12-111-53/+78
| | | | Fixes #9243
* Revert 7f49364fd0 for nreFlaviu Tamas2018-12-111-6/+6
|
* Improve nre documentation (fixes #9470)Flaviu Tamas2018-11-181-1/+16
|
* nre: don't use the deprecated import syntaxAraq2018-10-301-1/+1
|
* actually do ceiling division, not a similar operationClyybber2018-10-281-1/+1
| | | Co-Authored-By: flaviut <tamasflaviu@gmail.com>
* Eliminate floating point arithmatic in nreFlaviu Tamas2018-10-281-1/+2
| | | | | | | Integer division is already hard enough on your CPU, using floating point here is WAY slower and can just as effectivly be done using integers. This is important because matchImpl tends to be in the center of very hot loops (like split()).
* Use runnableExamples for example nre codeFlaviu Tamas2018-10-031-41/+57
|
* Fix option documentation in nre (fixes #9053)Flaviu Tamas2018-10-011-6/+6
|
* make more tests greenAndreas Rumpf2018-08-131-6/+6
|
* Update nre.nim (#8147)Timothee Cour2018-06-291-4/+4
|
* make nre compile againAndreas Rumpf2018-04-291-4/+4
|
* correct comparisons for nil strings/seqsAndreas Rumpf2018-04-281-1/+0
|
* fixes #6631Andreas Rumpf2017-10-301-13/+13
|
* remove old implementation of the roof operator; make tests green again; ↵Andreas Rumpf2017-10-291-19/+17
| | | | close #6292
* fixes #5444 - nre.findIter keeps searching when no match is possible (#5453)Florent2017-03-021-6/+6
|
* fixes #4996Andreas Rumpf2017-02-051-0/+9
|
* Merge pull request #4814 from scriptum/rpg-pcre-jitAndreas Rumpf2016-10-241-2/+6
|\ | | | | Enable JIT in PCRE to improve regular expressions performance
| * Remove TODO for PCRE JITPavel Roschin2016-10-101-1/+0
| |
| * Enable JIT in PCRE to improve regular expressions performancePavel Roschin2016-09-231-1/+6
| |
* | stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-3/+3
|/
* Stdlib: nre: Docstring improved.Konstantin Molchanov2016-06-151-1/+0
|
* Merge pull request #4157 from flaviut/update-nre-docsAndreas Rumpf2016-06-021-46/+35
|\ | | | | Generate NRE docs for website
| * Update NRE documentationFlaviu Tamas2016-05-131-46/+35
| |
* | Stdlib: nre: Add `export options`Konstantin Molchanov2016-05-271-0/+2
| | | | | | This should make `nre` more user friendly. See https://github.com/nim-lang/Nim/issues/4158
* | Stdlib: nre: Convenience proc ``contains`` added.Konstantin Molchanov2016-05-141-0/+10
|/
* SpellcheckFederico Ceratto2016-02-291-2/+2
|
* Fix a few deprecation warningsdef2016-01-251-1/+0
|
* Fix flaviut/nre#20Flaviu Tamas2015-06-181-2/+6
|
* Fix ambiguous character literalFlaviu Tamas2015-06-071-1/+1
|
* Fix potential code bloatFlaviu Tamas2015-06-071-4/+5
|
* Rename RegexException according to NEP1Flaviu Tamas2015-06-071-5/+5
|
* Edit re and nre doc commentsFlaviu Tamas2015-06-071-19/+0
|
* Clean up nre importsFlaviu Tamas2015-06-071-2/+1
|