Commit Graph

133 Commits

Author SHA1 Message Date
mpeterv
592d4b0074 Readded got() 2014-03-22 10:53:40 +04:00
mpeterv
5c6b298324 Removed some unused variables 2014-03-13 19:16:07 +04:00
leaf corcoran
da1bc6f8ec use xpcall and get backtrace 2014-02-15 14:07:36 -08:00
Eloff
c1f5327114 Add support for LL and ULL number suffixes (LuaJIT) 2014-01-05 15:25:09 -05:00
leaf corcoran
53cf5dd649 fix lint, mark pos of all refs 2013-12-27 12:57:07 -08:00
leaf corcoran
d6eaf8ddfb finish integrating ref value type 2013-12-27 02:15:51 -08:00
leaf corcoran
09f4cea638 add ref value type 2013-12-27 00:30:14 -08:00
leaf corcoran
71dad43c03 import can have free whitespace around imported names 2013-06-06 17:29:12 -07:00
leaf corcoran
1a436b79b2 { a : b } doesn't do self-assign #98 2013-06-06 16:55:59 -07:00
leaf corcoran
ce3d4adbb1 allow line breaks inside of quote strings 2013-04-17 21:19:40 -07:00
leaf corcoran
4b5d6f1cde a-b is no longer a function call #96 2013-04-16 11:16:47 -07:00
leaf corcoran
f75ebb80a6 numbers can start with . 2013-01-24 15:20:29 -08:00
leaf corcoran
0cf96b97f6 add numeric for loop comprehensions/decorator, fixes #45 2013-01-12 15:14:33 -08:00
leaf corcoran
54dc8efa0b local * 2013-01-10 20:20:05 -08:00
leaf corcoran
0ba4c773e1 don't reference global unpack 2013-01-02 17:55:43 -08:00
leaf corcoran
1f8b54da3c lua 5.2 support 2013-01-02 17:48:11 -08:00
leaf corcoran
5162082085 allow multiple cases per when statement in switch
also fix precedence issue when using lower than == precedence operators
in when
2012-11-29 09:19:35 -08:00
leaf corcoran
25b997e71f allow destructure in for in names 2012-11-29 00:37:49 -08:00
leaf corcoran
915fc36b2e convert more modules 2012-11-28 20:53:47 -08:00
leaf corcoran
89f4a83f26 add destructuring assignment 2012-11-27 23:46:32 -08:00
leaf corcoran
48662adc3b let class be the key in an unbound table 2012-11-10 22:15:54 -08:00
leaf corcoran
7752760160 @@variables should be assignable 2012-11-02 09:12:05 -07:00
leaf corcoran
97394fbbc9 classes can be expressions, classes don't require name or body anymore 2012-11-01 08:56:54 -07:00
leaf corcoran
481e0f6c66 add or= an and= operators 2012-11-01 08:00:21 -07:00
leaf corcoran
1313013433 with can take an assignment statement #46 2012-11-01 07:27:52 -07:00
leaf corcoran
6b56bc711c left out DisableDo for foreach loop 2012-10-31 13:47:56 -07:00
leaf corcoran
67584ec9f7 add support for do block, close #30 2012-10-31 09:59:36 -07:00
leaf corcoran
5b9e1a4389 better error when assigning invalid left hand side, fixes #36 2012-10-31 00:44:28 -07:00
leaf corcoran
021d4878a0 class name can be any assignable expression #46 2012-10-31 00:07:59 -07:00
leaf corcoran
db1081f8e5 new posmaps 2012-10-30 00:20:25 -07:00
leaf corcoran
6d52237380 wip for new line rewriter 2012-10-29 09:54:50 -07:00
leaf corcoran
0d5abf6cc4 continue support in foreach loop 2012-10-27 21:22:04 -07:00
leaf corcoran
e1f31d9e8d "declare" no longer shadows, introduce "declare_with_shadows" for local keyword 2012-10-25 18:22:51 -07:00
leaf corcoran
99e1c9d38b move line decorator transformation out of the parser 2012-10-25 17:57:21 -07:00
leaf corcoran
2134a3320a add unless block 2012-10-25 15:23:24 -07:00
leaf corcoran
14db695560 table comprehensions support single expression that returns a pair 2012-10-03 11:30:23 -07:00
leaf corcoran
1e6b9c8cab allow assignment in elseif 2012-10-01 12:30:16 -07:00
leaf corcoran
1d6bf564af allow assignment in if condition 2012-10-01 09:19:19 -07:00
leaf corcoran
7f3f17a8e4 reorganize update and assign parsing 2012-09-30 19:30:36 -07:00
leaf corcoran
6c0ec441d5 don't let debug mode break parser 2012-09-30 19:25:20 -07:00
leaf corcoran
8cf92a3591 Allow real statements inside of class 2012-09-30 19:18:21 -07:00
leaf corcoran
d272f6a04c call methods on strings without parentheses 2012-09-30 17:43:50 -07:00
leaf corcoran
b66f07c524 grammar debugger 2012-09-30 13:41:11 -07:00
leaf corcoran
a3c82d95f8 bring back local keyword for forward declaration 2012-09-30 09:36:01 -07:00
leaf corcoran
8b2fa75e4c add string interpolation to double quote string 2012-09-27 18:13:03 -07:00
leaf corcoran
43c1e0a4fb allow string literal as table key 2012-09-08 18:40:15 -07:00
leaf corcoran
290b73f92b differentiate between table key literals and variable references #42 2012-09-07 18:51:19 -07:00
leaf corcoran
d3170a018d support full syntax of generic for loop #41 2012-08-12 00:58:35 -07:00
leaf corcoran
c93e2d35f5 fixed regression, assign allowed in class decl again 2012-01-22 11:50:30 -08:00
leaf corcoran
16f4c956bf unless line decorator 2012-01-13 21:48:07 -08:00