This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Ok, I read through: https://github.com/clavascript/clavascript/issues/22 and actually this makes sense.
I wonder if we can get rid of the typeConst thing and return the constructor function instead
@corasaurus-hex My suspicion is that dispatching on numbers is faster in JS, but this would be worth a benchmark. When @lilactown includes some protocol stuff, we can maybe move to that (after appropriate benchmarking)
It's probably too early to work on this now, but I wonder if we could have source maps + typescript support so you would get type error stuff in your emacs buffer while writing a clava program
you could emit js with source maps but I don't know of anything that emits typescript with source maps (yet)
unless you mean to just emit plain js with whatever type checking typescript will give you on that without type information
@corasaurus-hex I was thinking you could emit a separate
.d.ts file or write one manually