@neurova/compiler
v0.1.0
Published
neurova compiler — parses .nv single-file components and emits JavaScript targeting either @neurova/runtime or React.
Maintainers
Readme
@neurova/compiler
Parses .nv single-file components and emits JavaScript targeting either
@neurova/runtime (default) or React.
component Counter(start = 0) {
state count = start
<button on:click={() => count.set(count() + 1)}>
Clicked {count()} times
</button>
}npx neurova-compile Counter.nv --target runtime -o Counter.jsOriginal DSL by neurova. © @analyticswithharry and Squid Consultancy Group Ltd. MIT.
