Skip to content

Releases: VoidbornGames/H-Sharp

v7

v7 Pre-release
Pre-release

Choose a tag to compare

@VoidbornGames VoidbornGames released this 04 Sep 19:41

v0.7.0 update is now here!

changes:

  • added string methods and tools
  • added http cookies and headers
  • more lists and maps with their tools
  • new builtins such as unixtime(), fmttime(unix, fmt), format(float, decimals)
  • TLS handshake, Http.Get/Post now speak https
  • added VS Code extension and language server
  • added installer for windows
  • organized the project
  • added runtime API registry
  • added more tests 30 => 208
  • added docs for new users and learning

Small Fixs:

HTTP response header injection guard, packet pool drain at exit (crash fix), null-field free fix (live-counter correctness), linker argument allowlist, and the mem() == 0 discipline enforced across the suite.

v6

v6 Pre-release
Pre-release

Choose a tag to compare

@VoidbornGames VoidbornGames released this 23 Aug 19:12
735d960

Gen 6

  • added Lambdas + closures
  • async/await/tasks
  • continue and break in loops
  • fixed bugs in || and &&
  • added string tools such as contains startsWith amd etc
  • fixed a lurking gen-5 bug
  • added small networking capability

v5

v5 Pre-release
Pre-release

Choose a tag to compare

@VoidbornGames VoidbornGames released this 22 Aug 00:14

Gen 5 - the big rewrite

HumanScript is now H Sharp (H#), and the language was rebuilt from the ground up.

The syntax is C#-like: braces, semicolons, typed functions, $"interpolated {strings}". The old English keywords (remember x is 5, say, end) are gone for good.

The real change is underneath: no garbage collector, ever. Strings and lists have exactly one owner, assigning moves the value, and touching it afterwards is a compile error. Everything on the heap is freed at its last use, decided at compile time. There's a mem() builtin that reports live allocations; a correct program prints 0, and the test suite checks exactly that.

Also in this release:

  • static types with var inference for locals
  • try/catch, missing files and out-of-bounds indexes land in catch
  • foreach, compound assignment (+= and friends)
  • lists own their elements; function params are borrowed unless marked move
  • cross-compiling via -platform win64|linux64|osx64 (defaults to your OS)
  • rebuilt test suite running the full pipeline per test

Heads up: old .hs programs won't compile - this is a clean break. See the README for the new syntax.

v3.0.0

v3.0.0 Pre-release
Pre-release

Choose a tag to compare

@VoidbornGames VoidbornGames released this 21 Dec 11:58
668977e
Update LICENSE

v2.0.0

v2.0.0 Pre-release
Pre-release

Choose a tag to compare

@VoidbornGames VoidbornGames released this 16 Nov 12:39
5efb8e0

To see the changes open the "change log.html" to see the changes!

v1.0.0

v1.0.0 Pre-release
Pre-release

Choose a tag to compare

@VoidbornGames VoidbornGames released this 14 Nov 17:41
4e22ec0

The Beginning!