Commit Graph

57 Commits (77399daf66a8768258de9b38f945804691bc9a40)

Author SHA1 Message Date
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
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 Ilczuk cc0a923959 Simple unescaping strins. 2012-12-16 10:36:19 +01:00
Justyna Ilczuk 9e1b5fa911 I added simple float usage. 2012-12-16 09:24:16 +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 360171fa59 Deleted crap. 2012-12-09 13:07:05 +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 5a0fbd6434 Small changes in interactive mode. No problems with levels of depth now, hopefully. 2012-11-18 14:44:46 +01:00
Justyna Att Ilczuk 6e376d5b1c AST part moved into AST folder. 2012-11-17 17:02:32 +01:00
Justyna Att Ilczuk 665492878d Some stuff with multiline interactive parsing and with character literal lexing analisys. Actually - bugs. 2012-11-17 16:54:16 +01:00
Justyna Att Ilczuk 10bf1865c5 Multiple lines in interactive mode. 2012-11-08 21:16:00 +01:00
Justyna Att Ilczuk 8fbc6c1b7d Small changes in interactive mode. 2012-11-05 14:17:38 +01:00