can you make a JS/c++ compiler for it
Post the code somewhere. I can only imagine that happening if *all* you have in your file is that line with that single label, which may confuse the assembler (since there's nothing to assemble).
I keep getting an error from r2asm that says "line 1: expected mnemonic, 'dw' or 'org';" but all I wrote on line 1 was "start:"
The lower half of the character set is just 7-bit ASCII, the upper half is seen in id:2453584 . As for the protocol, just look at example programs in the manual. It's really easy to figure out.
And what is the charachter set?
What is the communication protocol of the RT2?
SPRK spreads in its update function, and yes, you can get weird behaviour if you let a SPRK be created with some random ID. If you really need to do that, there's a technique that lets you control what IDs are assigned to newly created particles, but it's somewhat complicated. It's actually a more recent development than this creation, so this uses none of that. I won't explain it in the comments but if you join #powder-subframe, someone certainly will.
Just a general question on subframe, is sparks spreading to other conductors handled in SPRK's update function, or is it in the simulation code directly? That being said, is it safe to C/DRAY a SPRK onto an empty space, because its ID would be unspecified?
manual does a perfect job at teaching assembly though cuz it's so well writen