1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

15089 Commits

Author SHA1 Message Date
Rob Rix
e986ee3dce Ensure we can match single comments at the end of branches. 2017-08-18 10:40:50 -04:00
Rob Rix
0ad9ab5f44 Merge at-end rules into uncommitted choices. 2017-08-18 09:37:15 -04:00
Rob Rix
2ef277c4a3 Freeze the call stack we make errors with. 2017-08-18 09:31:17 -04:00
Rob Rix
81f72193e0 Ensure productivity for catch rules at end. 2017-08-18 09:29:14 -04:00
Rob Rix
30b6309cd1 Ensure productivity for label rules at end. 2017-08-18 09:24:26 -04:00
Rob Rix
bc4cee8b5f Avoid infinite looping on alternations of repetitions. 2017-08-18 09:06:31 -04:00
Rob Rix
9e2abcaa13 🔥 a redundant import. 2017-08-17 17:57:06 -04:00
Rob Rix
7b4fcec381 Fix the tests up. 2017-08-17 17:56:01 -04:00
Rob Rix
cb75a9bd41 Merge the atEnd cases. 2017-08-17 16:58:34 -04:00
Rob Rix
960e7f06d6 Explain myself. 2017-08-17 16:55:50 -04:00
Rob Rix
671894e657 Push and pop call sites from the stack. 2017-08-17 16:47:34 -04:00
Rob Rix
6c903e5038 Make errors with the passed-in stack. 2017-08-17 16:46:41 -04:00
Rob Rix
566e37ed5a What have I done 😨 2017-08-17 16:41:14 -04:00
Rob Rix
06007f319b Merge literal into expression. 2017-08-17 16:28:53 -04:00
Rob Rix
964157b256 Add fallbacks to committed choice. 2017-08-17 15:36:50 -04:00
Rob Rix
be10a2918f Tracing holds a single call site. 2017-08-17 15:09:23 -04:00
Rob Rix
8ee37dd1ea Rename the stateCallStack field to stateCallSites. 2017-08-17 11:56:16 -04:00
Rob Rix
d24a299d75 Add a call stack to the State. 2017-08-17 11:55:45 -04:00
Rob Rix
2e251ee244 Factor callstacks out into a helper functor. 2017-08-17 11:50:52 -04:00
Rob Rix
1a20c7e356 Revert "Choose holds regular assignments."
This reverts commit ab81e11ec69214fd5e6c3f368bfcbf4b6073d8cd.
2017-08-17 11:15:46 -04:00
Rob Rix
e3bb646ab6 Revert "Alt holds regular assignments."
This reverts commit 865f2429dcb6cf16151a0ade4b989bb276c10596.
2017-08-17 11:15:44 -04:00
Rob Rix
21439ba2f0 Revert "Assignment is completely self-contained."
This reverts commit 44fed1d491b8098518af1eaeb6846e342d4861d8.
2017-08-17 11:15:42 -04:00
Rob Rix
c092b347a0 Revert "Rename Return to Pure."
This reverts commit d259b76d176903f199b11d3f2ada1e493a88df1d.
2017-08-17 11:15:41 -04:00
Rob Rix
b028875180 Revert "Define a Map action."
This reverts commit 8c2b57c1174de5576e976c4e97b42c6bb37daf29.
2017-08-17 11:15:40 -04:00
Rob Rix
0bd826198c Revert "Maps compose."
This reverts commit 1d97d6bff36c3d8f89e98b8fa685735f7e91c7f2.
2017-08-17 11:15:38 -04:00
Rob Rix
a162f5bbb6 Revert "Promote maps in sequence."
This reverts commit c4bffb328d5dc60677377f6f9813a3e7f444b3b4.
2017-08-17 11:15:37 -04:00
Rob Rix
a062a40f66 Revert "Bind through maps."
This reverts commit d39c0404e1e398308ad7d272134e19b7e02a4815.
2017-08-17 11:15:36 -04:00
Rob Rix
25a82e076b Revert "Add a Seq constructor."
This reverts commit 26c5e09ed43a87a1de8f002cb6af6b4bd15a5b88.
2017-08-17 11:15:34 -04:00
Rob Rix
ffcb1dac2e Revert "Run assignments direct-recursively."
This reverts commit 2ad1fe1a614b766c2ce295b55e79759bf5396db9.
2017-08-17 11:15:33 -04:00
Timothy Clem
c7fd754af8 Line em up 2017-08-16 14:45:18 -07:00
Timothy Clem
bb86b5241d Use token for pair with no children 2017-08-16 14:45:06 -07:00
Timothy Clem
d9da2c1339 Docs 2017-08-16 14:34:44 -07:00
Timothy Clem
ada7f4d4db Not using this import 2017-08-16 14:33:50 -07:00
Timothy Clem
52d956894b Update hash fixtures 2017-08-16 14:28:10 -07:00
Timothy Clem
41b843ed70 Formatting 2017-08-16 14:28:00 -07:00
Timothy Clem
680ad37eea Fix up chained strings, allow comments 2017-08-16 14:14:33 -07:00
Timothy Clem
4fa472f8a1 Comments in hashes, simplify a few literals 2017-08-16 14:11:09 -07:00
Rob Rix
802476eb8a Run assignments direct-recursively. 2017-08-16 17:04:29 -04:00
Timothy Clem
55e87d3095 Allow comments in assignments 2017-08-16 13:44:30 -07:00
Timothy Clem
f0e96bc947 Add in comment handling, re-write binary
Also add complex and rational literals
2017-08-16 13:30:13 -07:00
Rob Rix
b4aec090fe Add a Seq constructor. 2017-08-16 16:21:26 -04:00
Rob Rix
3f21c88cb1 Bind through maps. 2017-08-16 16:12:29 -04:00
Rob Rix
9aa021b404 Promote maps in sequence. 2017-08-16 16:12:06 -04:00
Rob Rix
6735125dc4 Maps compose. 2017-08-16 16:10:57 -04:00
Rob Rix
435121211a Define a Map action. 2017-08-16 16:10:12 -04:00
Rob Rix
88d8a80a03 Rename Return to Pure. 2017-08-16 16:07:08 -04:00
Rob Rix
5551390619 Assignment is completely self-contained. 2017-08-16 16:04:45 -04:00
Rob Rix
187441e9af Alt holds regular assignments. 2017-08-16 15:47:13 -04:00
Rob Rix
320a302f58 Choose holds regular assignments. 2017-08-16 15:44:17 -04:00
Timothy Clem
8fc65cbee2 Properly assign binary - and * 2017-08-16 12:25:34 -07:00