1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

104 Commits

Author SHA1 Message Date
Timothy Clem
5dd53c0b93 if/unless modifiers and (sort of) unless statements 2016-10-26 14:49:51 -07:00
Timothy Clem
3bbfb765a5 Parse if, with some caveats 2016-10-26 14:32:08 -07:00
Timothy Clem
013f6392ff Parse while and until statements and modifiers 2016-10-26 12:54:21 -07:00
Timothy Clem
1b6c70f4ee Parse yield and return 2016-10-26 10:27:38 -07:00
Timothy Clem
56c2dae42f Bring in LOTS more of the ruby grammar 2016-10-24 10:43:31 -07:00
Rick Winfrey
ddb39bdbcc Update If Syntax to use a list to represent else conditions
- This lets us use a simple structure to break apart nested else-ifs
2016-10-12 12:32:55 -05:00
Rick Winfrey
55e2b7b1f9 Merge branch 'master' into if-else-if 2016-10-12 09:41:16 -05:00
Rick Winfrey
d4ac4427d3 Add comment 2016-10-11 12:02:52 -05:00
joshvera
d95283f4a1 Merge remote-tracking branch 'origin/master' into add-source-spans 2016-10-11 10:45:22 -04:00
joshvera
c0a8483263 Merge remote-tracking branch 'origin/master' into add-source-spans 2016-10-07 11:28:57 -04:00
Rick Winfrey
3e23076ecc Merge branch 'master' into import-export-syntax 2016-10-07 10:20:11 -05:00
Timothy Clem
da90b74044 New parsing of function params 2016-10-06 15:20:05 -07:00
Rick Winfrey
7d8988ce21 Some exports have identifiers 2016-10-06 16:03:06 -05:00
Rick Winfrey
818daf1968 Make Import Syntax an identifier and a list 2016-10-06 15:47:29 -05:00
Rick Winfrey
3ca3d9f035 Add Diff Summary support for Export Syntax 2016-10-06 15:46:59 -05:00
Rick Winfrey
63ca53b828 Add Import Syntax 2016-10-06 15:19:11 -05:00
joshvera
7ba5607cc8 Add source spans to terms 2016-10-05 17:27:45 -04:00
joshvera
4f41619c8e Merge remote-tracking branch 'origin/master' into rws-large-diffs 2016-10-05 12:17:29 -04:00
Rick Winfrey
af1a952348 Add Module syntax 2016-10-03 17:17:03 -05:00
joshvera
16aae4d95d Move a few declarations into Prologue 2016-09-16 10:14:51 -04:00
joshvera
d16cdefe34 Keep a hash for every node instead of a vector 2016-09-01 16:58:24 -04:00
joshvera
7708985f12 Add hashDecorator 2016-09-01 13:02:05 -04:00
joshvera
2723b657a4 Derive Hashable for SourcePos, SourceSpan, and Syntax 2016-09-01 12:10:35 -04:00
Rick Winfrey
5cf03924f9 Function id no longer a Maybe 2016-08-22 18:56:20 -05:00
Rick Winfrey
b4c05feb63 Add AnonymousFunction Syntax constructor 2016-08-22 18:55:54 -05:00
joshvera
5615da1bc0 Change methodParams to be a list of args 2016-08-17 10:42:05 -04:00
joshvera
e209199016 Add If constructor to Syntax 2016-08-11 17:39:44 -04:00
Rob Rix
af34a7bf1c Haddock-friendly docs for Syntax. 2016-08-04 12:26:07 -04:00
Rob Rix
7378668b2c Put the = before the first constructor. 2016-08-04 12:25:56 -04:00
joshvera
36c4001682 Merge remote-tracking branch 'origin/master' into throw-syntax 2016-08-01 13:55:44 -04:00
joshvera
ef4389a5c5 Merge remote-tracking branch 'origin/master' into constructors 2016-08-01 13:49:35 -04:00
joshvera
9bd34fe3ff Merge remote-tracking branch 'origin/master' into try-syntax 2016-08-01 13:38:50 -04:00
joshvera
b458d28c57 Merge remote-tracking branch 'origin/master' into array-syntax 2016-08-01 13:30:37 -04:00
joshvera
f228ed0b6d Add Constructor to Syntax 2016-07-30 14:27:11 -04:00
joshvera
d3df14cafd Add method definitions 2016-07-29 23:41:21 -04:00
joshvera
bb630ebbb0 Move Syntax instance up 2016-07-29 18:33:09 -04:00
joshvera
f931031515 s/body/list of expressions 2016-07-29 18:33:01 -04:00
joshvera
828a2163bf Add MethodDefinition 2016-07-29 18:31:39 -04:00
joshvera
2985bbd256 Add MethodDefinition to Syntax 2016-07-29 17:37:51 -04:00
joshvera
19b29e6beb Add Array to Syntax 2016-07-29 16:42:38 -04:00
joshvera
edaab80540 Add Class to Syntax 2016-07-29 16:22:41 -04:00
joshvera
2490d92c37 Add Try statement 2016-07-29 15:45:25 -04:00
joshvera
2dbe0eca0a Add Throw to Syntax 2016-07-29 15:31:11 -04:00
joshvera
e38ce8b883 Add SourceSpan to Error syntax 2016-07-29 13:59:30 -04:00
joshvera
4493751dd7 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 12:18:14 -04:00
joshvera
fbc9e335a3 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 11:44:38 -04:00
joshvera
7f3cb2e9ef Merge remote-tracking branch 'origin/master' into loop-syntax 2016-07-29 11:42:25 -04:00
joshvera
da0f21a07f Relax For constraint to take a list of clauses 2016-07-28 16:18:30 -04:00
joshvera
d057e156cd Add Return case to Syntax 2016-07-28 14:34:53 -04:00
joshvera
8b4de1e63a Label the DoWhile terms correctly 2016-07-28 14:26:42 -04:00