Commit Graph

15694 Commits (711d39975806233ce505abcea45998170d402579)
 

Author SHA1 Message Date
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
Rob Rix 95f2977318 Add the compiled grammar & parser & binding. 2016-02-18 10:48:05 +07:00
Rob Rix ee4571748e Rejigger the terminator. 2016-02-18 10:47:51 +07:00
Rob Rix 86bfd32b03 comment is a token. 2016-02-18 10:46:48 +07:00
Rob Rix 3c52f85b18 repeat, not rep. 2016-02-18 10:46:15 +07:00
Rob Rix 920ccfcf53 Comma! 2016-02-18 10:45:32 +07:00
Rob Rix 7c7a3d8e26 Add the repo field to the package. 2016-02-18 10:44:37 +07:00
Rob Rix ef83186819 Fix the case of the name. 2016-02-18 10:43:35 +07:00
Rob Rix 82d2ed8b7d Fix the version. 2016-02-18 10:43:32 +07:00
Rob Rix d30db3f9db Define extras. 2016-02-18 10:30:16 +07:00
Rob Rix abfe24acc0 Define a dubious comment rule. 2016-02-18 10:30:13 +07:00
Rob Rix c4ffce2d58 Define a line break rule. 2016-02-18 10:29:29 +07:00