This new release is bringing a lot of important bug fixes and some new features for Red/System. The new PRINT function might break some existing scripts, but should be easily fixable.
- Variable-arguments function support
- RTTI function limited support
- Polymorphic and variadic PRINT function
- Command-line arguments access
- Added stack low-level manipulation native functions: push, pop
- Access to stack pointer and stack frame pointer (reading/writing)
- Subtracting two pointers is now possible
- Preprocessor improved to solve macros recursively
- New built-in hexdump debugging functions
- External library access unit tests (thanks to Peter)
PRINT function examples:
print [123 "hello"]
print [123 tab "hello" lf "world" lf]
a: 1 < 2
print [a tab b/2]
- Complex arithmetic expressions involving pointers, path access and type casting are now much more reliable. 89 new unit tests were written to help fix the bugs and track regressions.
- Complete list of fixed issues available in Github’s tracker.
- Updated to match all new and changed features
- Memory allocator implemented in Red/System, documentation is pending.
As you can see, no vacation this summer for Red project!