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
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
c86374997f
No more eclipse metadata in git repo.
2012-12-09 13:07:55 +01:00