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

12046 Commits

Author SHA1 Message Date
Rob Rix
777a4a0392 Define syntax for continue statements. 2017-04-19 14:02:19 -04:00
Rob Rix
95aa88969e Define syntax for break statements. 2017-04-19 13:59:46 -04:00
Rob Rix
c27b14d9d6 Factor out the scope exit statements. 2017-04-19 13:58:42 -04:00
Rob Rix
6e73ca391d Return/Yield values are in an ArgumentList. 2017-04-19 13:57:09 -04:00
Rob Rix
4aeb7b1483 Represent the absence of optional syntax with the Empty constructor. 2017-04-19 13:49:36 -04:00
Rob Rix
d0e474168d Assign integer literals. 2017-04-19 13:37:45 -04:00
Rob Rix
c589e229ee Rename rule to symbol. 2017-04-19 13:11:09 -04:00
Rob Rix
996fa27530 Use the usual Term synonym. 2017-04-19 13:06:06 -04:00
Rob Rix
e4f6084183 Rename Program to Term. 2017-04-19 13:04:31 -04:00
Rob Rix
6d10209545 Assign into a cofree structure. 2017-04-19 13:04:07 -04:00
Rob Rix
437f240929 free/runFree no longer require Functor instances. 2017-04-19 12:59:19 -04:00
Rob Rix
46b8a4d3fd cofree/runCofree no longer require Functor instances. 2017-04-19 12:57:48 -04:00
Rob Rix
92dc311ad5 Export InUnion. 2017-04-19 12:52:24 -04:00
Rob Rix
27b1eb794c Rename emb/proj to inj/prj. 2017-04-19 12:52:16 -04:00
Timothy Clem
18e81adb14 Start to make a clean delineation about command function that use git or the fs 2017-04-19 09:45:11 -07:00
Timothy Clem
eb9547fb25 Tease apart file reading and transcoding 2017-04-19 09:12:19 -07:00
Rob Rix
c7186b8730 Use boolean literal constants. 2017-04-19 11:37:04 -04:00
Rob Rix
404bc3fc2f Define true and false constants. 2017-04-19 11:36:34 -04:00
Rob Rix
69b0eeb18a Assign elsif blocks correctly. 2017-04-19 10:16:08 -04:00
Rob Rix
e9a4f9e3a1 Assign else blocks correctly. 2017-04-19 10:13:05 -04:00
Rob Rix
ae6033e70b Return/yield statements always wrap their children (even if empty). 2017-04-18 16:21:13 -04:00
Rob Rix
b6f96617d7 Parse many statements. 2017-04-18 16:15:17 -04:00
Rob Rix
3c1180f758 Define a Show1 instance for Result. 2017-04-18 16:12:20 -04:00
Rob Rix
67ec37ea3f Sort imports. 2017-04-18 15:56:16 -04:00
Rob Rix
ccad5c275e Update the tests. 2017-04-18 11:06:24 -04:00
Rob Rix
4a29eed58e Export Result. 2017-04-18 10:39:24 -04:00
Rob Rix
ea2666b3ca Merge branch 'master' into ruby-production-type 2017-04-18 10:22:41 -04:00
Rob Rix
70c8d83f5e Merge branch 'master' into rws-effect 2017-04-18 10:17:54 -04:00
joshvera
a7293dcdc0 Move effectful functions down 2017-04-14 14:43:48 -04:00
Rob Rix
572fbbeb2a Assign boolean literals. 2017-04-13 15:48:28 -04:00
Rob Rix
94cb31e95e Add a bunch more literals. 2017-04-13 15:43:45 -04:00
Rob Rix
0a9b9ddb8e Rename HashLiteral to Hash. 2017-04-13 15:42:10 -04:00
Rob Rix
645fda316f Rename ArrayLiteral to Array. 2017-04-13 15:42:03 -04:00
Rob Rix
ed668490a8 Methods can be non-empty too. 2017-04-13 13:31:11 -04:00
joshvera
63f1cc0d14 Cleanup type signatures 2017-04-13 12:49:43 -04:00
joshvera
33fbdde73b Merge rws' into rws 2017-04-13 12:33:26 -04:00
joshvera
982bc83cd2 Merge remote-tracking branch 'origin/master' into rws-effect 2017-04-13 12:30:15 -04:00
Rob Rix
5bac4505c9 Return & yield may not take parameters. 2017-04-13 12:01:53 -04:00
Rob Rix
00b1aed9a1 Merge branch 'master' into ruby-production-type 2017-04-13 11:57:14 -04:00
Rob Rix
4921dd346f 📝 Empty. 2017-04-13 11:55:13 -04:00
Rob Rix
9abd51cefa Define Empty syntax. 2017-04-13 11:47:58 -04:00
Rob Rix
731c7a5c1d Move Syntax into the Program type synonym. 2017-04-13 11:18:10 -04:00
Rob Rix
88c4081e0d Assign return & yield statements. 2017-04-13 11:12:11 -04:00
Timothy Clem
48c4edf362 Merge pull request #1072 from github/subparsers
Rename binary to 'semantic', new argument parsing with subparsers
2017-04-13 08:08:59 -07:00
Rob Rix
3b9c53c4c2 Skip anonymous nodes at the end of input. 2017-04-13 11:02:23 -04:00
Rob Rix
1943d62dbf Extract the anonymous skipping function to the top level. 2017-04-13 11:02:13 -04:00
Rob Rix
a0322cf652 Clearer error message for children assignment. 2017-04-13 10:50:00 -04:00
Rob Rix
3de5f3aaf9 Pull out the function to skip anonymous nodes. 2017-04-13 10:49:08 -04:00
Rob Rix
2e7627184a Clearer error messaging for content assignment. 2017-04-13 10:48:39 -04:00
Rob Rix
d3f91d2f96 Clearer error messaging for rule assignment. 2017-04-13 10:47:22 -04:00