Add comments on parasites classes so that it's easier to remember what it actually does.
Add documentation in variable code.
Delete garbage
Added initial structure for pointers.
Fix operator precedence problem. Of operators with equal precedence, right associative ones go first.
Disable dump
Furter fixes for shunting yard algorithm
Fixes for pointers
- All user types now provides get_type() for the pointer framework to use
- Some internal restructuring in value_holder and value
- Move ugly value_holder macros to separate file, add get_type() in them
-
Finish pointer implementation and foreach loop
- Some values now support the & operator, the same as "address of" in C++ but called "pointer to" in P*
- Arrays may now be iterated in a foreach loop with the syntax you would expect
- Pointers may be used transparently in foreach loops if you wish to modify values
- Fix test cases
Work on the pointer type
- Adapt type system so that the full template type of arrays, hashes and pointers is retrieveable on assignment checks
- Cleanup in types.cpp/h to improve compilation speed
- Fix pointer assignment operator so that the expression continues
Remove unused headers in type.cpp
More splitting of type.cpp
Replace old types.h header in some files with new nams
Pointer and foreach implementation was broken, fixed.
Works on foreach loops
- Fix bug where range operator 3...3 ran once and gave 3 when it should never have run (3 to 3 exlusive is nothing)
- Created new file for foreach loop tests
Fix return values in range operator
Fix broken template parsing
Remove debug message
Fix struct implementation: Add struct to type arrays in namespace so that template types can find them
Template fixes:
- Fix more template bugs which made parsing of a combination which already was defined failed.
- Make pointer test more complicated