Skip to content

Releases: deleterium/SmartC

[email protected]

11 Dec 13:59
Compare
Choose a tag to compare

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

12 Feb 13:35
Compare
Choose a tag to compare

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

06 Aug 18:07
fabd983
Compare
Choose a tag to compare

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 and sendShortMessage 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

06 Aug 17:51
Compare
Choose a tag to compare

Fix documentation warning issues of this version.

SmartC v2.0.1

12 Jul 13:06
Compare
Choose a tag to compare

Fix text in documentation only.

SmartC v2.0.0

03 Jul 01:23
f9c30d6
Compare
Choose a tag to compare

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

17 Jan 02:06
Compare
Choose a tag to compare

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

16 Oct 14:00
e181299
Compare
Choose a tag to compare

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 or Member 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

23 Jul 16:57
Compare
Choose a tag to compare

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

01 Jul 16:49
bb07745
Compare
Choose a tag to compare

Initial release