Commit Graph

15655 Commits (a20ca5b7eba438336cf2d8b0de6b64fdc4a4ce79)
 

Author SHA1 Message Date
Rob Rix 5ddb5548c8 Test scope resolution parsing. 2016-02-19 08:39:27 +07:00
Rob Rix 16afb3cfc1 Scope resolution. 2016-02-19 08:37:39 +07:00
Rob Rix 4ebe6b3a6d Classes and modules require terminators. 2016-02-19 08:37:33 +07:00
Rob Rix 6823a9c30f Lots more operators wooo 2016-02-19 08:30:12 +07:00
Rob Rix 214e929e63 Symbols are expressions. 2016-02-19 06:33:25 +07:00
Rob Rix 49c947cee3 Symbols are either identifier chars or operator chars. 2016-02-19 06:33:10 +07:00
Rob Rix 60fabad04c Pull operators out into a function. 2016-02-19 06:32:34 +07:00
Rob Rix f0fdadfbe4 Pull the body of identifiers out into a function. 2016-02-19 06:31:36 +07:00
Rob Rix ff4cd43472 Identifiers are tokens. 2016-02-19 06:27:33 +07:00
Rob Rix b30bccbc9b Test multiple args. 2016-02-19 06:24:16 +07:00
Rob Rix ae28998293 Test unparenthesized args. 2016-02-19 06:24:12 +07:00
Rob Rix adbe46a28c Optional argument lists work out better. 2016-02-19 06:24:03 +07:00
Rob Rix 0706fd1096 Don’t email. Just don’t. 2016-02-19 06:18:35 +07:00
Rob Rix 147b7930e8 Argument lists are named. 2016-02-19 05:51:01 +07:00
Rob Rix 1447e10ea4 Don’t bother with _argument_declaration. 2016-02-19 05:49:43 +07:00
Rob Rix 6fc545237d The */& marker is optional. 2016-02-19 05:47:46 +07:00
Rob Rix d19d43c8a2 Move argument_list up beside method_declaration. 2016-02-19 05:44:18 +07:00
Rob Rix 3cf479cb9b Correct the parsing of methods with arguments. 2016-02-18 22:31:05 +07:00
Rob Rix 8d2f4aed4e Parenthesized expressions cannot be empty. 2016-02-18 22:19:24 +07:00
Rob Rix 98a73100ce Test a class with a body. 2016-02-18 22:18:13 +07:00
Rob Rix db8425a550 Test a module with a body. 2016-02-18 22:17:33 +07:00
Rob Rix 7d2a0c74ea Test a subclass of a namespaced class. 2016-02-18 21:00:13 +07:00
Rob Rix 7e2c00c246 Test an empty subclass. 2016-02-18 20:59:29 +07:00
Rob Rix 7e86857b8e Test a method with a body. 2016-02-18 20:57:07 +07:00
Rob Rix 4d1e1d5973 Add method declarations. 2016-02-18 20:55:10 +07:00
Rob Rix 8810624217 Class & module declarations. 2016-02-18 20:41:04 +07:00
Rob Rix 1f4b4fe23e Factor out compound statements altogether. 2016-02-18 20:40:33 +07:00
Rob Rix 859c0101a3 Define commaSep1 in terms of sep1. 2016-02-18 20:33:23 +07:00
Rob Rix e026dbbe45 Add sep & sep1. 2016-02-18 20:32:55 +07:00
Rob Rix a64575bcc7 Add symbols. 2016-02-18 20:19:01 +07:00
Rob Rix cbb5e87f18 Stub in an until statement. 2016-02-18 20:17:09 +07:00
Rob Rix fdc8a97400 Stub in an unless statement. 2016-02-18 20:16:41 +07:00
Rob Rix 66dd9125df Stub in a while statement. 2016-02-18 20:15:57 +07:00
Rob Rix ef7d67abdb Stub in a conditional statement. 2016-02-18 15:45:31 +07:00
Rob Rix 4de1e39880 Stub in aliasing. 2016-02-18 15:44:13 +07:00
Rob Rix 39bf0f6b4e Stub in undef. 2016-02-18 15:43:30 +07:00
Rob Rix 4ad8203726 Parse some basic call stuff. 2016-02-18 15:42:24 +07:00
Rob Rix b2a7383063 Steal the commaSep function too. 2016-02-18 15:40:35 +07:00
Rob Rix c0c66ea43a Steal the commaSep1 function from tree-sitter-javascript. 2016-02-18 15:39:45 +07:00
Rob Rix 61bfb07036 Multiple comma-separated arguments. 2016-02-18 15:20:07 +07:00
Rob Rix 60771f0274 Test multiple-line block comments. 2016-02-18 15:14:42 +07:00
Rob Rix 72fcb86693 Add support for single-line block comments. 2016-02-18 15:14:04 +07:00
Rob Rix 459d052df1 Add empty block comments. 2016-02-18 15:13:09 +07:00
Rob Rix e6e76e68c2 Rebuild apparently. 2016-02-18 15:09:56 +07:00
Rob Rix c51c8d4172 Merge pull request #6 from tree-sitter/CI-fixes-maybe
Readme tweaks
2016-02-18 12:03:01 +07:00
Rob Rix 114082114c Add parenthesized compound statements as a primary expression. 2016-02-18 10:56:55 +07:00
Rob Rix 159b012534 Add compound statements back in. 2016-02-18 10:56:21 +07:00
Rob Rix 955a19cf9b Try to fix the indentation. 2016-02-18 10:50:36 +07:00
Rob Rix 19ba1bc966 Fix some broken indentation. 2016-02-18 10:49:17 +07:00
Rob Rix d168f7a7e4 Test that comments parse. 2016-02-18 10:48:10 +07:00