Jussi Pakkanen
b382abdd2c
Forbid nested ternary operations.
8 years ago
Jussi Pakkanen
d90fcb4048
Created ternary operator. Closes #538 .
8 years ago
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
9 years ago
Jussi Pakkanen
4cd671e69e
More comparison operators. Closes #363 .
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
ee4e785b1e
Add support for subscripting array objects with [].
9 years ago
Jussi Pakkanen
a5abcf1fe2
Created the += operator.
9 years ago
Jussi Pakkanen
6951abe192
Give clear error message if someone tries to use double quotes. Closes #144 .
10 years ago
Jussi Pakkanen
3f7f984a39
Handle then unary negation operator.
10 years ago
Jussi Pakkanen
572587f5ce
Fix cross compilation tests.
10 years ago
Jussi Pakkanen
d53c00db13
Yo dawg, can embed quoted single quotes inside quotes.
10 years ago
Jussi Pakkanen
fa2c659825
Parse arguments iteratively instead of recursively to support argument lists of arbitrary size.
10 years ago
Jussi Pakkanen
4293a2ac65
Removed shebang lines from files that are not executable.
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
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
10 years ago
Jussi Pakkanen
be0f357f1d
Dafuq?
10 years ago
Jussi Pakkanen
b44ca46e92
Implement a foreach loop construct. Closes #17 .
10 years ago
Jussi Pakkanen
1a8d830e05
Can chain multiple logical operations in a row.
10 years ago
Jussi Pakkanen
a5863477f8
Kill end of line whitespace dead.
10 years ago
Jussi Pakkanen
17ba9bccd0
Parse function and method calls properly.
11 years ago
Jussi Pakkanen
d99717d9d2
Some cleanups.
11 years ago
Jussi Pakkanen
2502beccc9
The final renaming.
11 years ago
Jussi Pakkanen
3c591385ed
Comparisons work.
11 years ago
Jussi Pakkanen
d6924da005
If statements worky.
11 years ago
Jussi Pakkanen
163a31beef
Method calls work now.
11 years ago
Jussi Pakkanen
967f0110a5
More tests passing.
11 years ago
Jussi Pakkanen
06417090a2
More stuff passing.
11 years ago
Jussi Pakkanen
c74f0f3a3b
Can parse first unit test with recursive descent parser.
11 years ago
Jussi Pakkanen
26583435d5
Now can parse all files in test set.
11 years ago
Jussi Pakkanen
68f990c8da
Verify that all input was consumed.
11 years ago
Jussi Pakkanen
cddb5b7bcb
Now parses a lot more.
11 years ago
Jussi Pakkanen
8c14ead3ed
Now parses simple files. Next up: complex ones.
11 years ago
Jussi Pakkanen
f8e99ffea4
Moar stuff is happening.
11 years ago
Jussi Pakkanen
8017d9f795
Something something something.
11 years ago
Jussi Pakkanen
eb3d8ee80f
Create bottommost level nodes.
11 years ago
Jussi Pakkanen
8cf6e7bf7e
Now with biggererer parsing.
11 years ago
Jussi Pakkanen
0bf431c844
Parses small file.
11 years ago
Jussi Pakkanen
eae1e44e0f
A new approach.
11 years ago
Jussi Pakkanen
2c63f28923
Random hacking.
11 years ago
Jussi Pakkanen
23f6d4ab0e
Something.
11 years ago
Jussi Pakkanen
fc42ae0450
Some experiments with a self-written parser.
11 years ago