Download Latest Version v4.5.2 source code.tar.gz (2.7 MB)
Email in envelope

Get an email when there's a new version of happyx

Home / v1.0.0
Name Modified Size InfoDownloads / Week
Parent folder
First Major Release .tar.gz 2023-06-01 305.3 kB
First Major Release source code.tar.gz 2023-06-01 305.3 kB
First Major Release source code.zip 2023-06-01 338.6 kB
First Major Release.zip 2023-06-01 338.6 kB
README.md 2023-06-01 1.4 kB
Totals: 5 Items   1.3 MB 0

Changelog

  • as statement in components ✌ nim component MyComponent: `script` as js: console.log("Hi") `style` as css: tag tDiv: background-color: rgb(100, 200, 255) padding: 0 1.px 2.rem 3.em
  • Updated SPA renderer (but legacy still) 🐾 To enable old renderer compile with -d:oldRenderer
  • Prefixed defines (#46) 🔨
  • -> macro for states 🍍 nim type MyObj = object field: string var myObj = remember MyObj(field: "Hello") echo myObj->field
  • Updated buildJs macro ✌
  • nim statement that keeps true Nim code nim buildJs: nim: echo "Hello, world!"
  • block statement now is available
  • enums checking (only JS enums) ```nim buildJs: type A = enum One, Two, Three, Four = 100

    var enumA = A.One

    case enumA: of A.One: echo "Hi!" else: echo "Bye!" - `discard` statement - `while` statement - Updated `buildHtml` statement ✨ - `nim` statement that keeps true Nim codenim buildHtml: tDiv: "Hello, world!" nim: echo "Hello, world!" ``` - Update docs 📕

Source: README.md, updated 2023-06-01