Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token reconstruction runtime sets #32

Closed
wants to merge 49 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0084f2e
Updating dependencies
Sep 12, 2020
9feba21
typescript conversion
Oct 5, 2020
5d0c15b
style fixes
Oct 5, 2020
91dd1d0
adding reconstruction functionality
Oct 5, 2020
f630388
exporting reconstruct from index
Oct 5, 2020
3cf7364
Update lib/types/tokens.ts
jeswr Oct 9, 2020
8bfcd6f
Update lib/types/tokens.ts
jeswr Oct 9, 2020
470f570
Update lib/tokenizer.ts
jeswr Oct 9, 2020
fb2b785
Fixing review comments in PR24
Oct 9, 2020
f8523f0
Putting SyntaxError inline to be recognised by typescript compiler
Oct 10, 2020
08d7063
Merge remote-tracking branch 'origin/typescript-conversion' into my_l…
Oct 10, 2020
2809dff
Merge branch 'master' into token-reconstruction
jeswr Nov 16, 2020
27498d6
adding code coverage for reconstruct
Nov 16, 2020
401d343
fixing semicolons in reconstruct file and updating [^.] test
Nov 17, 2020
755e315
Removing lookbehind (not currently tokenized)
jeswr Nov 21, 2020
bb88be2
Add documentation for `reconstruct` and `partialConstruct`
jeswr Nov 27, 2020
d9c9325
Fix typo
jeswr Nov 27, 2020
3973e46
Remove unecessary character escaping
jeswr Nov 27, 2020
20f9b50
Adding tests for set simplifications
jeswr Nov 27, 2020
78af342
Fix typo and remove sanitisation comment
jeswr Nov 27, 2020
b8d6e93
Update README.md
jeswr Nov 30, 2020
f5e037a
Change partialConstruct to reconstruct
jeswr Nov 30, 2020
eae6b6e
Remove partialConstruct from readme
jeswr Nov 30, 2020
08125fb
Remove partialConstruct from tests
jeswr Nov 30, 2020
d36e867
Replace other instances of partialConstruct with reconstruct
jeswr Nov 30, 2020
219ca17
Converting partialConstruct to reconstruct in reduceStack
jeswr Nov 30, 2020
324fe86
Adding `module.exports.reconstruct`
jeswr Nov 30, 2020
0654059
revert package-lock.json file
jeswr Dec 1, 2020
16427ed
Update readme file to remove reference to partialConstruct in explana…
jeswr Dec 1, 2020
a14e5e1
Merge branch 'master' into token-reconstruction
jeswr Dec 1, 2020
ed6a995
reverting package-lock.json (using version in ret/master)
jeswr Dec 1, 2020
d0a9610
Merge remote-tracking branch 'upstream/master' into token-reconstruction
jeswr Jan 4, 2021
b9d9ffb
fix: make package-lock match main branch
jeswr Jan 4, 2021
b774a80
fix: revert unintended changes to readme
jeswr Jan 4, 2021
4610f0a
run lint:fix
jeswr Jan 4, 2021
a5fb5cb
Update test file
jeswr Jan 5, 2021
233311f
Update reconstruct functionality and refactor the set token writer
jeswr Jan 5, 2021
f292eb6
Remove unecessary readme space change
jeswr Jan 5, 2021
0a9252a
Rename boolean variables
jeswr Jan 6, 2021
f7accaa
Fix (https://github.com/fent/ret.js/pull/25#discussion_r551753241) an…
jeswr Jan 6, 2021
01caba9
Resolve (https://github.com/fent/ret.js/pull/25#discussion_r551754929…
jeswr Jan 6, 2021
5425a32
Resolve (https://github.com/fent/ret.js/pull/25#discussion_r551752567)
jeswr Jan 6, 2021
8e71441
fix https://github.com/fent/ret.js/pull/25#discussion_r554205556, mis…
jeswr Jan 9, 2021
09a33bd
resolve https://github.com/fent/ret.js/pull/25#discussion_r554206935
jeswr Jan 14, 2021
281cd60
Update lib/write-set-tokens.ts
jeswr Jan 15, 2021
7182c9c
resolve https://github.com/fent/ret.js/pull/25#discussion_r557779768
jeswr Jan 15, 2021
63157e4
Update README.md
jeswr Feb 5, 2021
393b0ee
Update write-set-tokens.ts
jeswr Feb 5, 2021
9f1692c
Generating set lookup at runtime
jeswr Feb 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
Co-authored-by: fent <[email protected]>
  • Loading branch information
jeswr and fent authored Nov 30, 2020
commit b8d6e93fb56cf471061604fff0c89afad1e97591
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { reconstruct, partialConstruct, types } from 'ret'

const tokens = ret(/foo|bar/.source)
const setToken = {
"type": ret.types.SET,
"type": types.SET,
"set": [
{ "type": types.CHAR, "value": 97 },
{ "type": types.CHAR, "value": 98 },
Expand Down