Commit Graph

46 Commits (4d7205920055139596a07e8a74f7c6e4f79f698f)

Author SHA1 Message Date
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
Justyna Att Ilczuk 26ea2374ad Some crap removed. New classes for nodes added. 2012-11-04 21:13:10 +01:00
Justyna Att Ilczuk 4cec642234 Bug with brackets in parsing resolved. 2012-11-04 17:16:02 +01:00
Justyna Att Ilczuk 8dc5802c2b Interactive mode, bug with looping while parsing some incorrect input corrected.` 2012-11-04 16:21:51 +01:00
Justyna Att Ilczuk e124120121 Removed some unnecessary files. 2012-11-04 14:26:36 +01:00
Justyna Att Ilczuk 1f0e60bb91 More tests for lexer. Some improvements in test framework. 2012-11-04 14:23:08 +01:00
Justyna Att Ilczuk 924f957a7e Test framework - strongly modified by myself... some (actually little) tests. 2012-11-04 13:18:26 +01:00
Justyna Att Ilczuk e8018808e1 I did some migration to eclipse. Old code-blocks version still exists. I installed new very simple test framework called minunit. If eclipse doesn't explode, I will use it as main IDE. 2012-11-03 00:07:00 +01:00