Releases
v1.0.0
Ethosa
released this
01 Jun 14:27
Changelog
as
statement in components ✌
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 🍍
type MyObj = object
field: string
var myObj = remember MyObj (field: " Hello" )
echo myObj-> field
Updated buildJs
macro ✌
nim
statement that keeps true Nim code
buildJs:
nim:
echo " Hello, world!"
block
statement now is available
enums checking (only JS enums)
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 code
buildHtml:
tDiv:
" Hello, world!"
nim:
echo " Hello, world!"
Update docs 📕
You can’t perform that action at this time.