Commit Graph

33 Commits

Author SHA1 Message Date
Jussi Pakkanen fa2c659825 Parse arguments iteratively instead of recursively to support argument lists of arbitrary size. 2015-03-15 22:31:10 +02:00
Jussi Pakkanen 4293a2ac65 Removed shebang lines from files that are not executable. 2015-01-25 02:43:59 +02:00
Jussi Pakkanen 525f0ae6d2 Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
Robin McCorkell 702148aea5 Add number, string and array arithmetic
Addition (+), subtraction (-), multiplication (*) and division (/) for numbers
follows the BIDMAS rules.

Strings and arrays can be concatenated with the addition operator

Strings can be concatenated with numbers with the addition operator
2014-11-16 16:45:10 +00:00
Jussi Pakkanen be0f357f1d Dafuq? 2014-11-05 21:37:07 +02:00
Jussi Pakkanen b44ca46e92 Implement a foreach loop construct. Closes #17. 2014-11-05 20:38:35 +02:00
Jussi Pakkanen 1a8d830e05 Can chain multiple logical operations in a row. 2014-09-19 18:08:28 +03:00
Jussi Pakkanen a5863477f8 Kill end of line whitespace dead. 2014-08-07 12:34:35 +03:00
Jussi Pakkanen 17ba9bccd0 Parse function and method calls properly. 2014-05-26 22:56:12 +03:00
Jussi Pakkanen d99717d9d2 Some cleanups. 2014-03-31 20:11:54 +03:00
Jussi Pakkanen 2502beccc9 The final renaming. 2014-03-17 00:37:47 +02:00
Jussi Pakkanen 4ab3dc440b Kill ply dependency dead. 2014-03-17 00:34:31 +02:00
Jussi Pakkanen 916dc87dc6 Kill shift/reduce conflict dead. 2014-03-09 21:00:02 +02:00
Jussi Pakkanen 325181cc7b A code block can be empty. 2014-03-09 20:35:18 +02:00
Jussi Pakkanen 20d850d21f Precedence fix. 2013-08-10 02:11:29 +03:00
Jussi Pakkanen e440f343b8 Variable names can begin with an underscore. 2013-07-30 23:53:50 +03:00
Jussi Pakkanen 6a17d6994d Cleaner, simpler elif. 2013-07-27 17:58:17 +03:00
Jussi Pakkanen e8fba977f4 Some sort of elif implementation. 2013-07-27 17:55:17 +03:00
Jussi Pakkanen 59c1dd44ed Can do logical negation. 2013-07-27 17:21:59 +03:00
Jussi Pakkanen 782021d65e Can do logical or. 2013-07-27 17:15:22 +03:00
Jussi Pakkanen 6a5a9a3848 Can do logical and. 2013-07-27 17:06:37 +03:00
Jussi Pakkanen fcdc39e049 Do not access non-existing member variable. 2013-07-25 16:47:19 +03:00
Jussi Pakkanen a52336b429 Can invoke methods on general statements and not just variable names. 2013-06-30 01:53:37 +03:00
Jussi Pakkanen 0f03b26f44 Removed -tt, which is not necessary with Python 3. 2013-06-20 18:07:03 +03:00
Jussi Pakkanen b63c493844 Better error reporting for parsing errors. 2013-06-02 14:25:35 +03:00
Jussi Pakkanen c3972d512a Removed braces from language syntax. 2013-06-02 14:08:42 +03:00
Jussi Pakkanen 417abe105c Added multiline strings. 2013-04-21 16:47:20 +03:00
Jussi Pakkanen 27d39fe605 A few fixes. 2013-03-10 01:37:20 +02:00
Jussi Pakkanen f456453883 Handle more eols in array construction. 2013-03-10 01:16:57 +02:00
Jussi Pakkanen e2a5357282 Do not lose line numbers to the great void of nothingness. 2013-03-02 01:50:52 +02:00
Jussi Pakkanen add94f96ed No longer require backslash for line continuation inside an argument list. 2013-03-02 01:15:13 +02:00
Jussi Pakkanen d30c2eba03 Added script to compile Meson itself. 2013-02-23 13:59:53 +02:00
Jussi Pakkanen a21737cdd7 Final piece of renaming (hopefully). 2013-02-23 13:35:18 +02:00