Commit Graph

184 Commits

Author SHA1 Message Date
Rijnard van Tonder
ef5d420739 map aliases in rules 2021-06-06 19:56:02 -07:00
Rijnard van Tonder
0a29179410 add .file alias for .file.path and fix filepath 2021-06-06 13:54:17 -07:00
Rijnard van Tonder
fbe48cb30b support nested newline-separated rewrites 2021-06-06 00:54:03 -07:00
Rijnard van Tonder
22b732fbe7 propagate metasyntax and factor out external module 2021-06-05 22:26:10 -07:00
Rijnard van Tonder
1f6d2cc1b9 fix rewrite for -newline-separated option and nested matches 2021-06-05 14:38:45 -07:00
Rijnard van Tonder
ef89413fb4 update languages (add matlab, R, fix .tf) 2021-06-03 22:16:00 -07:00
Rijnard van Tonder
7a7a2a53e9
lines and offsets properties (#291) 2021-05-26 03:19:45 -07:00
Rijnard van Tonder
d548666b53 remove need for async dependency in vendored package 2021-05-21 01:49:54 -07:00
Rijnard van Tonder
ae45ff4e50
additional utility attributes (#289) 2021-05-21 00:15:34 -07:00
Rijnard van Tonder
f0b37a99a2
add HCL definition (#288) 2021-05-20 22:29:40 -07:00
Rijnard van Tonder
7d9eb26c71 fix rewrite bug in alternative matcher 2021-05-19 02:39:32 -07:00
Rijnard van Tonder
22f98a193a fix typos and test 2021-05-19 01:09:56 -07:00
Rijnard van Tonder
81bfd5f2d6
introduce convenience string conversion functions (#287) 2021-05-18 23:49:24 -07:00
Rijnard van Tonder
123a01e890
test hole.length (#286) 2021-05-18 22:07:46 -07:00
Rijnard van Tonder
258a0c3a05
overhaul match and rewrite templating (#285) 2021-05-17 21:05:27 -07:00
Rijnard van Tonder
ed43b4fc63 put no rg output behind debug flag 2021-05-12 12:24:22 -07:00
Rijnard van Tonder
55c793f48f recursive rules with matcher and merge tests 2021-05-07 01:11:57 -07:00
Rijnard van Tonder
3512864079 remove optional hole sytnax 2021-04-28 02:38:42 -07:00
Rijnard van Tonder
33b41114d5 fix regex anchors for alternative engine 2021-04-27 03:30:27 -07:00
Rijnard van Tonder
432f416866
evaluate variable match expressions in rules (#281) 2021-04-27 01:31:56 -07:00
Rijnard van Tonder
71858fd9b7 merge spec processing for CLI and interactive 2021-04-25 15:23:37 -07:00
Rijnard van Tonder
d0d4c61118 update 2021-04-25 14:39:08 -07:00
Rijnard van Tonder
98df3f795d
support reserved identifiers for variables (#274) 2021-04-19 02:43:04 -07:00
Rijnard van Tonder
5304b31189
merge rule evaluation (#278) 2021-04-19 02:00:00 -07:00
Rijnard van Tonder
f7bf5c7b40
Rewrite template refactor (#277) 2021-04-19 01:17:42 -07:00
Rijnard van Tonder
9d839d1a1b regex holes refactor 2021-04-15 23:23:26 -07:00
Rijnard van Tonder
b1e29ce339
simple script parser and rule syntax additions (#273) 2021-04-10 19:36:59 -07:00
Rijnard van Tonder
5863b9208c
support match only for config specs (#272) 2021-04-08 21:49:40 -07:00
Rijnard van Tonder
fa71ea5408
separate comby-kernel (#271) 2021-04-06 23:04:31 -07:00
Rijnard van Tonder
84a76e1dc7
abstract matchers and rules over fresh variable generator (#270) 2021-04-05 21:52:50 -07:00
Rijnard van Tonder
110dbe6f16
abstract rewriter over fresh variable generator (#269) 2021-04-05 21:05:52 -07:00
Rijnard van Tonder
a2ad280fe8 remove old part of mli doc 2021-03-29 00:19:54 -07:00
Rijnard van Tonder
df1491cb96
use local modules for vendored packages (#263) 2021-03-27 17:06:02 -07:00
Rijnard van Tonder
63c789f606
allow to specify metasyntax definitions on the command line (#261) 2021-03-27 13:25:55 -07:00
Rijnard van Tonder
77d129b7bc
support metasyntax in rewrite templates (#260) 2021-03-19 02:02:16 -07:00
Rijnard van Tonder
92d5988005
Library MLI (#257) 2021-03-18 03:24:40 -07:00
Rijnard van Tonder
189ee10904
unvendor mparser (#256) 2021-03-15 23:29:52 -07:00
Rijnard van Tonder
867a5521f3
allow custom metasyntax definition (#255) 2021-03-15 22:48:30 -07:00
Kate
5b444ffe8e
Remove unused dependency (#252) 2021-03-05 10:49:30 -07:00
Rijnard van Tonder
395cadf4af
unconstrain lwt dependency (#250) 2021-03-02 22:35:29 -07:00
Rijnard van Tonder
3809d9086c undo recognizing regex delimiters in JS and TS 2021-03-01 22:58:36 -07:00
Rijnard van Tonder
21dc45eaef
clean up processing and add parany parallel library (#249) 2021-03-01 22:49:40 -07:00
Rijnard van Tonder
8831557839
upgrade to angstrom.0.15.0 (#240) 2021-02-27 17:39:26 -07:00
Rijnard van Tonder
54ccd0633a
vendor pinned packages (#248) 2021-02-27 16:44:19 -07:00
Rijnard van Tonder
54e6838f68
update to use mparser dune build (#245) 2021-02-22 17:51:01 -07:00
Rijnard van Tonder
2a76eec2a0
make bisect_ppx pin a soft dependency (#242) 2021-02-21 20:04:19 -07:00
Rijnard van Tonder
8ce4d63556
escape carriage return in matches (#239) 2021-02-16 02:17:53 -07:00
Rijnard van Tonder
fa46d4090a refactor: factor out assignment 2021-02-07 02:05:13 -07:00
Rijnard van Tonder
5ed7fa0f3c fix: nested match offsets 2021-02-07 01:40:18 -07:00
Rijnard van Tonder
8d9e75fe36
add nested matching (#236) 2021-02-06 22:04:45 -07:00