Releases: deleterium/SmartC
Releases · deleterium/SmartC
[email protected]
What's Changed
- New keyword 'register' as modifier for variables. by @deleterium in #36
- Refactor code generator by @deleterium in #37
- Preprocessor v2 by @deleterium in #38
- Changes in warning/errors messages and treatment: many erros can be displayed and with detailed information.
Full Changelog: https://github.com/deleterium/SmartC/compare/[email protected]@2.3.0
SmartC v2.2.1
What's Changed
- Added getAccountBalance() support by @Wekuz / @deleterium
- Compiler now warns when using not initialized variables
- Changed strategy for functions passing and returning values (saving use of user stack)
- New keyword
inline
for functions declaration (saving use of code stack)
New Contributors
- @Wekuz made their first contribution!
SmartC v2.1.0
Featuring:
- Fix on severe issue in sendQuantity built-in function (issue #24)
- Fix implementation for optimization level 3 (should be stable now)
- New contract samples LiquidityPool and WheelOfSigna
- New built-in functions
readShortMessage
andsendShortMessage
to optimize code for short messages - Other minor bug fixes and code de-smelling
Full Changelog: https://github.com/deleterium/SmartC/compare/[email protected]@2.1.0
SmartC v2.0.2
Fix documentation warning issues of this version.
SmartC v2.0.1
Fix text in documentation only.
SmartC v2.0.0
Featuring:
- Support all new features from Signum Rainbow Hard Fork
- New 42 built-in functions: easy use of Signum API
- Documentation updated with refactored examples, devs must read it again
- Fixed point numbers to handle balance, much easier in calculations
- Checks for type castings are stronger and issuing warnings for implicit conversions
- Optimization level 3 uses VM to trace variables values (beta version, not default)
- Showing many errors after failed compilations (if possible)
- Many changes in
#pragma
and#program
to allow integration with SC-Simulator
SmartC v1.0
Featuring:
- Massive code refactoring, decreasing code cognitive complexity. More than 80 commits
- Changed strategy for code optimization. Better and safer
- Added switch :: case :: default statement
- Added sizeof keyword
- Allow use of array of structs
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
SmartC v0.2
Featuring in 0.2:
- Source code syntax highlighting for C and Assembly.
- Responsive layout for small screens.
- Added #define preprocessor directive.
- Directive #pragma globalOptimization much more stable.
- Bugfixes for code.
First release
Initial release