Timothy Clem
dfe8c842ed
Term doesn't need to know about Record
2018-09-21 09:42:24 -07:00
Timothy Clem
d656988dd0
Merge pull request #2188 from github/while-effect
...
Implement while as an effect
2018-09-21 09:33:12 -07:00
Timothy Clem
faab30add2
Don't eagerly run while bodies
2018-09-21 09:14:07 -07:00
Josh Vera
e92d9e84f0
Merge branch 'master' into while-effect
2018-09-20 16:09:04 -04:00
Rob Rix
98b1b1e16b
🔥 builtInExport.
2018-09-20 15:22:09 -04:00
Rob Rix
6993b39ab0
Define eval open-recursively.
2018-09-20 14:16:22 -04:00
Timothy Clem
4a84736162
Docs
2018-09-20 10:31:13 -07:00
Rob Rix
29532a114d
Evaluate modules using open recursion.
2018-09-20 13:12:19 -04:00
Rob Rix
c75defc821
📝 Open.
2018-09-20 13:02:24 -04:00
Rob Rix
8b41c2bdfb
Move the Open synonym to Evaluator.
2018-09-20 13:02:00 -04:00
Rob Rix
9f4e278b1a
Use a type synonym for the open recursion.
2018-09-20 13:01:23 -04:00
Rob Rix
038b56970e
Parameterize Evaluator by the term type.
2018-09-20 12:43:59 -04:00
Timothy Clem
741a3b25d6
Implement doWhile in terms of the new while effect
2018-09-20 09:42:55 -07:00
Timothy Clem
fdfc47e168
Implement runWhile for Abstract and Type semantics
2018-09-20 09:14:34 -07:00
Timothy Clem
ceead75b69
Get interpose working and an abort to our loopcontrol effect
2018-09-20 08:41:17 -07:00
Timothy Clem
0341f21901
WIP - implement while/looping as an effect
2018-09-19 15:00:51 -07:00
Timothy Clem
bc7ea051e1
Merge pull request #2186 from github/tree-sitter-bumpity-bump
...
++tree-sitter, one more once
2018-09-19 12:21:55 -07:00
Timothy Clem
953b095161
++tree-sitter
2018-09-19 12:03:39 -07:00
Patrick Thomson
4016c6f3d8
Merge pull request #2184 from github/reprinting-pipeline-rename
...
Remove Hungarian-style T- prefix from tokens and scopes.
2018-09-19 13:30:18 -04:00
Patrick Thomson
ba18287311
Merge branch 'master' into reprinting-pipeline-rename
2018-09-19 13:08:52 -04:00
Patrick Thomson
ba246ca805
last few fixes. now to investigate bugs
2018-09-19 12:58:18 -04:00
Patrick Thomson
8e1ca410bb
Remove Hungarian-style T- prefix from tokens and scopes.
...
Prefixes on data constructors are generally an antipattern in Haskell:
if you're concerned about name collisions, have clients use qualified
imports for whatever modules they need. As such, this removes the T-
prefixes from the `Token` and `Context` types. This also renames
Context to Scope, which is a more exact and readable name.
2018-09-19 12:38:48 -04:00
Patrick Thomson
7f81565efa
broken overwriteFloats, not sure what's up
2018-09-19 12:38:10 -04:00
Patrick Thomson
ee0a1170c3
Merge pull request #2174 from github/term-rewriting-mk2
...
Integrate term-rewriting
2018-09-19 12:26:43 -04:00
Patrick Thomson
0cc5fc5e19
port addKVPair
2018-09-19 12:06:09 -04:00
Patrick Thomson
9a1f6e9835
bump api
2018-09-19 11:58:44 -04:00
Patrick Thomson
62560cf462
fix increaseNumbers
2018-09-19 11:56:06 -04:00
Patrick Thomson
649dd2132f
renameKey works well now
2018-09-19 11:56:06 -04:00
Patrick Thomson
a36af2e785
Remove Hungarian-style T- prefix from tokens and scopes.
...
Prefixes on data constructors are generally an antipattern in Haskell:
if you're concerned about name collisions, have clients use qualified
imports for whatever modules they need. As such, this removes the T-
prefixes from the `Token` and `Context` types. This also renames
Context to Scope, which is a more exact and readable name.
2018-09-19 11:54:12 -04:00
Patrick Thomson
22cf72c20f
Merge branch 'master' into term-rewriting-mk2
2018-09-19 11:51:28 -04:00
Timothy Clem
2ced55842e
Merge pull request #2183 from github/javascript-parse-examples
...
Test out JavaScript parse-examples
2018-09-19 08:11:38 -07:00
Patrick Thomson
2998c8f8cc
last few changes
2018-09-19 11:03:59 -04:00
Timothy Clem
20ccdc19de
Merge branch 'master' into javascript-parse-examples
2018-09-19 07:54:52 -07:00
Timothy Clem
253975164a
Test out JavaScript parse-examples
2018-09-18 15:32:56 -07:00
Josh Vera
13c457ec4c
Merge pull request #2182 from github/new-take-on-parse-examples
...
New take on parse examples
2018-09-18 18:21:39 -04:00
Patrick Thomson
d68c7975d7
Merge branch 'master' into new-take-on-parse-examples
2018-09-18 17:51:22 -04:00
Patrick Thomson
b563774ac2
Merge remote-tracking branch 'origin/master' into term-rewriting-mk2
2018-09-18 17:46:28 -04:00
Patrick Thomson
79c29a7006
Address Tim's suggestions: things are looking way nicer.
2018-09-18 17:46:05 -04:00
Patrick Thomson
efb0b0a0f7
Change Rule to RuleM and PureRule to Rule.
2018-09-18 17:33:01 -04:00
Patrick Thomson
98bad59b26
Merge pull request #2179 from github/fix-benchmarks
...
Fix linker error when running benchmarks.
2018-09-18 16:23:54 -04:00
Timothy Clem
6817193cbc
Mark assignment timeouts as pending
2018-09-18 13:00:31 -07:00
Patrick Thomson
d5be7ee842
Merge branch 'master' into fix-benchmarks
2018-09-18 15:50:59 -04:00
Patrick Thomson
8da5bcf973
just a bit more context
2018-09-18 15:46:51 -04:00
Patrick Thomson
3d1bccc3f4
cleaner tests
2018-09-18 15:45:17 -04:00
Patrick Thomson
eb667b3326
Revert the changes to Util.
2018-09-18 15:23:45 -04:00
Patrick Thomson
2dc8bb0041
Merge branch 'master' into term-rewriting-mk2
2018-09-18 15:18:21 -04:00
Rob Rix
0caf4c0dde
Merge pull request #2180 from github/heap-widening
...
Flow-insensitive heap widening
2018-09-18 15:09:47 -04:00
Rob Rix
13993af2c7
Merge branch 'master' into heap-widening
2018-09-18 14:46:36 -04:00
Timothy Clem
7aa37f6443
Allow comments in variadicArgument expressions in Go
2018-09-18 11:16:20 -07:00
Timothy Clem
a25e848c9f
Fix assigning comments with multiple elif in Python
2018-09-18 10:43:18 -07:00