Commit Graph

93 Commits (master)

Author SHA1 Message Date
Justyna Ilczuk 058a18c612 More documentaaaaation. 2013-01-13 17:36:38 +01:00
Justyna Ilczuk 837d4c4bce Some informative comments. 2013-01-13 13:53:17 +01:00
Justyna Ilczuk 53f8ba2097 Some new examples. New tests. Small improvements. 2013-01-12 22:16:30 +01:00
Justyna Ilczuk 3a449cb09b Small changes in Array. New programming examples. Comments enabled. 2013-01-12 19:20:47 +01:00
Justyna Ilczuk 7d60b159cc Arrays! 2013-01-10 16:15:43 +01:00
Justyna Ilczuk 82a5924c4e Begginnig of arrays. First arrayification on strings. 2013-01-10 13:29:20 +01:00
Justyna Ilczuk 3ad07986ff I repaired broken tests. 2013-01-10 11:46:41 +01:00
Justyna Ilczuk d959b701bf Small changes in paths in import. 2013-01-07 20:29:41 +01:00
Justyna Ilczuk 4754bc5562 Imports works somehow. Another small improvements. 2013-01-07 20:05:53 +01:00
Justyna Ilczuk 7ff93163f4 Pretty naive import implementation. Still not complete. 2013-01-07 18:07:25 +01:00
Justyna Ilczuk 1088069b4e RepeatStatement runs okay in functions now. 2013-01-07 17:15:47 +01:00
Justyna Ilczuk 22d6df9927 More small improvements. 2013-01-04 13:24:14 +01:00
Justyna Ilczuk 02bced0b5d Some documentation and little refactoring. 2013-01-04 11:58:59 +01:00
Justyna Ilczuk 0992a3a67d Bug with passing variables to funcitons resolved. 2013-01-01 23:38:10 +01:00
Justyna Ilczuk 7e4ac66f34 Some changes in formatting. 2013-01-01 18:15:54 +01:00
Justyna Ilczuk d65e408e55 Functions seem to work. Additionaly unary expressions :>. 2013-01-01 18:05:35 +01:00
Justyna Ilczuk 4526de47cf slsjfl 2012-12-31 18:31:03 +01:00
Justyna Ilczuk 6296524bec Functions work if given right arguments ^^. 2012-12-31 17:10:37 +01:00
Justyna Ilczuk e01bc95615 More on context manager. 2012-12-30 22:37:10 +01:00
Justyna Ilczuk f23c85949f Some test for function functionality and minor changes in other stuff. 2012-12-30 16:38:18 +01:00
Justyna Ilczuk 46dfa01922 Nothing important 2012-12-30 15:29:19 +01:00
Justyna Ilczuk 39794ea711 I began implementing function functionality and I apply some changes to
whole design.
2012-12-30 14:59:30 +01:00
Justyna Ilczuk 93a63d43e9 Silly mistake, and lots of fun, heh :P 2012-12-28 17:39:43 +01:00
Justyna Ilczuk 4d3eaee1b6 Refactoring parser methods. Adding more suitable constructors
to make code better.
2012-12-28 16:19:47 +01:00
Justyna Ilczuk 0e6bdecf2a Formatting. 2012-12-28 15:40:54 +01:00
Justyna Ilczuk 2d649a149b Documentation... some useful comments, which are descriptions of
AST nodes.
2012-12-28 11:41:43 +01:00
Justyna Ilczuk 77399daf66 Old, outdated part of project has been removed.
I added some comments to BasicExpression
I removed "parent" from all ASTClasses. Why? It wasn't useful at all,
and it make my design much better and easier to improve later.
2012-12-28 11:01:48 +01:00
Justyna Ilczuk 4bbba3bdc9 No more introspection ;). 2012-12-26 09:44:30 +01:00
Justyna Ilczuk 89e84f0a83 Logical expressions are successfully implemented. 2012-12-22 20:15:34 +01:00
Justyna Ilczuk 10f3eaf214 Almost done! 2012-12-22 19:19:13 +01:00
Justyna Ilczuk 8ef1eb14c5 I do tests for evaluating logical expressions. Sadly I enountered
segmentation fault :(.
2012-12-22 18:52:19 +01:00
Justyna Ilczuk 6721f24be8 Logical and and or is ready to use now. 2012-12-22 17:56:32 +01:00
Justyna Ilczuk 4b8baa58e6 First steps to logical operators. 2012-12-22 15:48:26 +01:00
Justyna Ilczuk eed9925160 Operators like <=, > work now. Only logical are left know. 2012-12-22 15:43:51 +01:00
Justyna Ilczuk c6e3678f15 Sleep function enabled. 2012-12-22 12:20:23 +01:00
Justyna Ilczuk b75236096e Mixing floats and ints is possible now! 2012-12-22 11:40:57 +01:00
Justyna Ilczuk f0bc0e235b Ready to merge visit branch with master! 2012-12-22 11:18:47 +01:00
Justyna Ilczuk 4d72059200 Almost everything is ready with visitor pattern and ASTInspector class. 2012-12-22 11:06:55 +01:00
Justyna Ilczuk 509a416bf9 More visiting methods. Gonna catch them all! 2012-12-22 09:07:13 +01:00
Justyna Ilczuk 88ccccc4fe Small amends. 2012-12-21 16:21:49 +01:00
Justyna Ilczuk 7ac6ae1c22 Inspector can inspect ASTElements, as for now, only basic expressions
and constant expressions :).
2012-12-21 16:16:39 +01:00
Justyna Ilczuk 736458f1fd This crazy setup compiles. However I encountered some problems with
polymorphism. It probably doesn't work as I thought it would. Not
problem at all :).
2012-12-18 22:41:39 +01:00
Justyna Ilczuk 442d8c640f Tidying up main function. Moving tests. 2012-12-18 21:51:57 +01:00
Justyna Ilczuk 9b28dfa8dd Preparing test, and classes to work using new structure. 2012-12-18 21:22:33 +01:00
Justyna Ilczuk ce22fb3cdf More work on implementation of Inspector. I started writing tests for
it.
2012-12-18 20:55:45 +01:00
Justyna Ilczuk 1be5804f4c Some implementation of ASTInspector 2012-12-18 00:08:50 +01:00
Justyna Ilczuk cc3e55c888 I'm starting visitors pattern. 2012-12-17 23:59:16 +01:00
Justyna Ilczuk ba6497e5a5 Test manifest. 2012-12-17 22:53:36 +01:00
Justyna Ilczuk c00e4e3e16 I was having fun with oxygen trying to do some documentation. 2012-12-17 12:47:05 +01:00
Justyna Ilczuk b9d9788da2 New class for variables. It's much more appropriate than storing
variables in constant expression class isn't it?
2012-12-17 10:41:48 +01:00