Firth
Firth copied to clipboard
Lack of tests
We don't have any! That's not good.
There should be some for the interpreter (probably written in JS) to test the implementation's components, and some for the specification (probably written in Firth itself) to test an implementation's specification conformance.
This would require selecting a JS unit test framework, and writing a Firth one. The JS unit test one will probably be one made for node.
Do you have a testing framework in mind? Mocha could be appropriate I guess
We could avoid doing any unit tests for now and only have high-level tests written in Firth itself, perhaps. Though unit tests are valuable.
I'd like to get Firth self-hosting as soon as I can, though that's probably still quite a way off and maybe not a realistic goal.
Anyway, I'm not familiar with any node.js unit test frameworks (sadly I haven't used them in previous node projects D:)