leaf corcoran
|
2ea42c3387
|
fixed whitespace/comment issue after statements
|
2012-01-13 18:33:24 -08:00 |
|
leaf corcoran
|
d7f8ade88e
|
standalone @ and @@ are aliases for self and self.__class
|
2012-01-10 22:14:14 -08:00 |
|
leaf corcoran
|
3a2b92e5d3
|
don't treat assignment/update as expression (#26)
|
2012-01-10 21:41:01 -08:00 |
|
leaf corcoran
|
5933b733ba
|
assigning class variables with @ property names
|
2012-01-08 23:10:25 -08:00 |
|
leaf corcoran
|
3fc11c813e
|
@@ syntax for class variables within instances
|
2012-01-08 22:02:43 -08:00 |
|
leaf corcoran
|
53f587021d
|
support for indented unbound tables as last argument to function calls
|
2011-12-08 22:44:07 -08:00 |
|
leaf corcoran
|
255a92f8ee
|
expressions inside of class body is parsed
|
2011-12-03 14:07:05 -08:00 |
|
leaf corcoran
|
3f6c1d517e
|
switch tests, parse switch non-cascade expression
|
2011-11-18 19:07:17 -08:00 |
|
leaf corcoran
|
7334678579
|
switch statement
|
2011-11-17 21:48:50 -08:00 |
|
leaf corcoran
|
652e59c96c
|
syntax for tblcmp
|
2011-11-14 19:16:52 -08:00 |
|
leaf corcoran
|
cacd11f879
|
move generic functions out of grammar constructor
|
2011-11-07 21:09:45 -08:00 |
|
leaf corcoran
|
5d9851b8cd
|
export keyword works before class declaration, fixed export test
|
2011-11-06 22:48:25 -08:00 |
|
leaf corcoran
|
374a7c5975
|
can export assignment statements
|
2011-11-06 22:29:39 -08:00 |
|
leaf corcoran
|
de3372d96e
|
import done through transform, binding import also works now
|
2011-11-06 22:06:39 -08:00 |
|
leaf corcoran
|
88683065e0
|
use , for slice range delimiter (sorry)
|
2011-11-05 10:00:09 -07:00 |
|
leaf corcoran
|
6925deedc8
|
fixed parse error for comment at end of file
|
2011-11-04 18:58:01 -07:00 |
|
leaf corcoran
|
c3fd7812ce
|
fixed with's dot chain from not parsing all types after first chain item
|
2011-11-01 19:56:29 -07:00 |
|
leaf corcoran
|
e6f33c0844
|
added export all and export proper
|
2011-10-02 00:08:13 -07:00 |
|
leaf corcoran
|
6fae81994c
|
support return statement with no arguments
|
2011-09-30 23:23:22 -07:00 |
|
leaf corcoran
|
319d387c72
|
fixed parse error with some keywords at start of variable names
|
2011-09-30 20:20:36 -07:00 |
|
leaf corcoran
|
035b18cfff
|
fixed bug with assigning the names of statements
|
2011-09-30 19:35:22 -07:00 |
|
leaf corcoran
|
64fd33c089
|
refactor types out of compile
|
2011-09-27 08:42:59 -07:00 |
|
leaf corcoran
|
6c391cb572
|
fixed "\\" from not parsing
|
2011-09-11 23:36:01 -07:00 |
|
leaf corcoran
|
87159dc95d
|
boost max stack
|
2011-09-11 23:31:56 -07:00 |
|
leaf corcoran
|
4019b90377
|
support windows line endings
|
2011-09-11 23:31:44 -07:00 |
|
leaf corcoran
|
d0a92fb1db
|
self args can be in any function, default value for self args works
|
2011-09-11 23:18:05 -07:00 |
|
leaf corcoran
|
f2ce353b4c
|
added : prefix operator for self assignment in table lits
|
2011-08-28 23:41:24 -07:00 |
|
leaf corcoran
|
24ae69cfdf
|
fixed bug with comments failing to parse in open tables
|
2011-08-28 23:19:48 -07:00 |
|
leaf corcoran
|
20548ecd70
|
..= for string concatenation update
|
2011-08-20 10:44:08 -07:00 |
|
leaf corcoran
|
d75c2b04ff
|
arguments can be continued on next line with indent
+ some parsing cleanups
|
2011-08-20 10:38:40 -07:00 |
|
pygy
|
9c0423638a
|
typo
|
2011-08-15 23:26:32 +03:00 |
|
leaf corcoran
|
9bc2b1eef4
|
shebang support
|
2011-08-12 19:51:50 -07:00 |
|
leaf corcoran
|
05b3a8f989
|
fixed number literals (all lua ones supported)
integer, float and hex
|
2011-08-12 19:35:22 -07:00 |
|
leaf corcoran
|
2fbbef9c44
|
added using keyword in functions, type accessors in compiler
|
2011-08-10 21:16:41 -07:00 |
|
leaf corcoran
|
13747aa955
|
permit comments after line decorators and blocks
|
2011-07-30 01:42:07 -07:00 |
|
leaf corcoran
|
472c107786
|
fixed parse error for empty lines before else/elseif
|
2011-07-22 19:21:12 -07:00 |
|
leaf corcoran
|
d41d9c457c
|
moved error rewriting and moonloader into module
|
2011-07-18 23:21:28 -07:00 |
|
leaf corcoran
|
05c891a28f
|
fixed whitespace/comment parse issues
|
2011-07-16 23:51:45 -07:00 |
|
leaf corcoran
|
1ea8f3fb6f
|
for loops and while statements as expressions
|
2011-07-16 17:14:57 -07:00 |
|
leaf corcoran
|
9c000857fc
|
proper return statement + with expression
|
2011-07-16 13:19:41 -07:00 |
|
leaf corcoran
|
8c461eae6b
|
unified error handling
|
2011-07-16 11:51:40 -07:00 |
|
leaf corcoran
|
4e9227417d
|
default function args
|
2011-07-16 11:00:39 -07:00 |
|
leaf corcoran
|
1ae3e4e4cc
|
standalone for in loop
|
2011-07-14 23:46:16 -07:00 |
|
leaf corcoran
|
94db1d8544
|
tests run and error reporting for compile time err
|
2011-07-13 21:09:50 -07:00 |
|
leaf corcoran
|
56c3af06d2
|
simple stack rewriting
|
2011-07-04 09:02:17 -07:00 |
|
leaf corcoran
|
361feef825
|
slice shorthand for unpacked list comprehension
|
2011-06-23 08:42:43 -07:00 |
|
leaf corcoran
|
c86a386d00
|
use \ for colon call operator
|
2011-06-22 23:45:03 -07:00 |
|
leaf corcoran
|
b4df97d2d6
|
with statement
|
2011-06-21 19:43:01 -07:00 |
|
leaf corcoran
|
96abc5986e
|
bang function call
|
2011-06-20 20:35:05 -07:00 |
|
leaf corcoran
|
17184f2aa8
|
unary minus must not have any whitespace after it
avoids precedence ambiguity between minus with fncall
|
2011-06-20 08:28:25 -07:00 |
|
leaf corcoran
|
2fb3b4f9d2
|
table keys can be reserved words
|
2011-06-19 13:00:27 -07:00 |
|
leaf corcoran
|
27836f1d80
|
super for classes, synthesized init calls super
|
2011-06-19 12:07:01 -07:00 |
|
leaf corcoran
|
885682fe32
|
changed name capture to avoid stack overflow on large files
|
2011-06-16 08:49:46 -07:00 |
|
leaf corcoran
|
67a59a9622
|
class inheritance
|
2011-06-15 22:41:17 -07:00 |
|
leaf corcoran
|
65fdf7e6b2
|
new class system
|
2011-06-15 08:52:01 -07:00 |
|
leaf corcoran
|
858608a04d
|
basic class syntax
|
2011-06-14 23:13:33 -07:00 |
|
leaf corcoran
|
c6aa90bcbc
|
split compiler across multiple files
|
2011-06-14 09:28:28 -07:00 |
|
leaf corcoran
|
a873203469
|
numeric for loops
|
2011-06-13 08:42:46 -07:00 |
|
leaf corcoran
|
133c9b058d
|
binary assignment operator shorthand + misc
|
2011-06-13 08:23:09 -07:00 |
|
leaf corcoran
|
02fac90e4c
|
some more moonspeak
|
2011-06-05 19:28:30 -07:00 |
|
leaf corcoran
|
66fcb9593d
|
stubbed out new compiler in moonscript
|
2011-06-02 01:09:40 -07:00 |
|
leaf corcoran
|
5e99633efc
|
added support for colon open function calls
|
2011-06-01 23:27:19 -07:00 |
|
leaf corcoran
|
9c0fced067
|
syntax for table array iteration
|
2011-06-01 20:58:17 -07:00 |
|
leaf corcoran
|
7a85335e0a
|
preparing
|
2011-06-01 20:22:29 -07:00 |
|
leaf corcoran
|
233738aad2
|
assignable if, exp list as statement, ; as value separator
|
2011-05-29 22:38:47 -07:00 |
|
leaf corcoran
|
d8ff74ccba
|
comprehension decorator, non return value compile for comprehension
|
2011-05-29 14:47:42 -07:00 |
|
leaf corcoran
|
3631c891c2
|
rockspec
|
2011-05-28 21:27:31 -07:00 |
|
leaf corcoran
|
0babe3ad55
|
if statement decorator, unary ops, ... keyword
|
2011-05-28 00:21:25 -07:00 |
|
leaf corcoran
|
708e0dd35f
|
exteneded list comprehension
|
2011-05-27 23:21:29 -07:00 |
|
leaf corcoran
|
1f821c19d4
|
list comprehension, self operator, all binary ops
|
2011-05-27 21:27:59 -07:00 |
|
leaf corcoran
|
08c3eee854
|
fat arrow, assignable dot value
|
2011-05-24 00:15:11 -07:00 |
|
leaf corcoran
|
ba0c504fa4
|
colon and dot operators
|
2011-05-23 23:58:10 -07:00 |
|
leaf corcoran
|
06693fbd66
|
import statement, and some docs
|
2011-05-23 22:43:40 -07:00 |
|
leaf corcoran
|
c70b298b68
|
conds and while
|
2011-05-23 01:16:49 -07:00 |
|
leaf corcoran
|
1cb205608a
|
more tables
|
2011-05-22 22:12:21 -07:00 |
|
leaf corcoran
|
66b20ef1ce
|
some table syntax, fixed tests
|
2011-05-22 19:47:25 -07:00 |
|
leaf corcoran
|
5c2f5b0e0d
|
amgibuity fix, parens, and some comment support
|
2011-05-22 12:19:13 -07:00 |
|
leaf corcoran
|
6e0927f55d
|
strings
|
2011-05-22 00:58:17 -07:00 |
|
leaf corcoran
|
4d489581ba
|
assignment and scoping functional
|
2011-05-21 22:15:19 -07:00 |
|
leaf corcoran
|
4936446f1c
|
funcall and indexing is good
|
2011-05-21 15:26:46 -07:00 |
|
leaf corcoran
|
eb0f05cc3c
|
I wonder what I should do today
|
2011-05-21 09:36:26 -07:00 |
|
leaf corcoran
|
14ec73283f
|
expressions
|
2011-05-21 01:11:25 -07:00 |
|
leaf corcoran
|
dd32b5824c
|
added moon script, moved parser to package
|
2011-05-20 01:08:36 -07:00 |
|