[RFC] kernel spec

48 views
Skip to first unread message

Mariano Guerra

unread,
Jul 4, 2012, 11:46:03 AM7/4/12
to kl...@googlegroups.com
hi!

me again, as you may know from the previous mail I'm developing a
kernel implementation in javascript and I want it to be a proper
kernel implementation

for that and because it's useful I'm writing unit tests for the
implementation, most of them are high level enough that test that the
implementation works according to the specification.

I would also like to be sure that squim works the same as klisp.

for that reason I'm proposing on creating a shared set of high level
tests that allow anyone to test their implementation against this set
of tests

something similar to the ruby spec: http://www.rubyspec.org/

since klisp has more tests than squim and is more mature I guess
starting from those would be a good start, moving the tests as some
kind of submodule, separating the libs needed for testing and the
actual tests and structuring the tests by sections would be a nice
objective.

in this way every test I write against squim can be used to test klisp
and any other future implementation.

what do you think?

a technical note, we may need to generate some language independent
output that is useful for any implementation, maybe something like TAP
would be useful, we don't have to design and we can take advantage of
preexisting tools: http://testanything.org/
http://en.wikipedia.org/wiki/Test_Anything_Protocol

as a sidenote, I want squim to be an addition to klisp and not a
competition, something like clojure and closurescritpt, if needed I
can rename it to klisp.js or klispscript :D
Reply all
Reply to author
Forward
0 new messages