SmartC v0.3
New features on version 0.3:
- Source code refactored from Javascript to Typescript
- Included inline comments on interfaces and types
- Massive improvement on compiler error messages
- Functions can return struct pointer
- Recursive functions
- Support for using functions with modifiers
Array
orMember
Ex: a = test()->next; - Improved rules for pointer variables verification
- Added void pointer variables
- Added property .length to get array size
- Special function void catch(void) to handle execution exceptions
- Macro 'userStackPages' and 'codeStackPages' for fine tuning memory parameters
- Struct can have recursive definition of its pointer
- More optimizations on constant variables (thru variables named nNUMBER)
- Added Machine Code Hash Information
- Improved preprocessor with #ifdef, #ifndef, #else, #endif directives
- Copy to clipboard button for easy use with SC-Simulator
- Added macro 'outputSourceLineNumber' to add verbosity in assembly generated code
- Project integration with SonarCloud and fix security vulnerabilities in regex expressions
- Increased test coverage for wrong source code