Commit Graph

41 Commits (6296524bec2e2254f816b944ecc8cf28686f1fa8)

Author SHA1 Message Date
Justyna Ilczuk 6296524bec Functions work if given right arguments ^^. 2012-12-31 17:10:37 +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 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 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 b75236096e Mixing floats and ints is possible now! 2012-12-22 11:40:57 +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 9b28dfa8dd Preparing test, and classes to work using new structure. 2012-12-18 21:22:33 +01:00
Justyna Ilczuk cc3e55c888 I'm starting visitors pattern. 2012-12-17 23:59:16 +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
Justyna Ilczuk 46ac5b352b More on todos. Nothing important. 2012-12-17 09:37:45 +01:00
Justyna Ilczuk 3ff8c49cb7 some refactoring in basic structure of AST, mainly destructors 2012-12-17 09:25:58 +01:00
Justyna Att Ilczuk bc04b97377 While node works! != operator 2012-12-10 12:37:29 +01:00
Justyna Att Ilczuk 1eee8a0039 Native functions like sine and cosine! 2012-12-10 11:45:09 +01:00
Justyna Att Ilczuk 9847a9ead0 Repeat works as it should. Assigning arguments to functions. 2012-12-10 09:43:16 +01:00
Justyna Att Ilczuk c862bad33f Somethings wrong with assignments in "repeat". 2012-12-09 21:46:29 +01:00
Justyna Att Ilczuk 2042c35d85 Better assigning and usage in functions. 2012-12-09 21:17:13 +01:00
Justyna Att Ilczuk fc7f656bc2 If statements and postfix expressions like function calls, yeah! 2012-12-09 17:42:13 +01:00
Justyna Att Ilczuk c2981eea75 More on declarations :). 2012-12-09 12:57:51 +01:00
Justyna Att Ilczuk eefe0852bc Declaration stuff 2012-12-09 11:29:08 +01:00
Justyna Att Ilczuk 01614b2bf4 handles variables, doing calculations and adding strings 2012-12-08 22:33:34 +01:00
Justyna Att Ilczuk bdd319ecb8 variabuls und stuff 2012-12-08 20:59:05 +01:00
Justyna Att Ilczuk 30e3fb729c It's alive and looks like it also works. 2012-12-07 16:58:27 +01:00
Justyna Att Ilczuk 02d96d9891 It's alive! 2012-12-06 18:41:16 +01:00
Justyna Att Ilczuk d996b89678 Lots of stuff done in AST. But still not close to finish. 2012-12-05 23:27:03 +01:00
Justyna Att Ilczuk d40b7c2397 More work on AST structure. I created a general type of object calle SenchaObject to store primitives. 2012-12-05 21:31:06 +01:00
Justyna Att Ilczuk c5cf3e2fc9 wtf git 2012-12-05 20:32:43 +01:00
Justyna Att Ilczuk 98c33d3ec1 AST small changes 2012-12-03 23:40:47 +01:00
Justyna Att Ilczuk 6e376d5b1c AST part moved into AST folder. 2012-11-17 17:02:32 +01:00