Okay! I've basically got the DNA in a good state. First step is you'll need to get the code and make sure it actually compiles on your machine. I've updated the
Darwinbots3 page on the wiki.
Assuming you can open and build Sunweaver.sln (the solution file for the DNA), you just need to call Sunweaver.Parsing.Parser.ParseDNA to turn text in to DNA. Importantly there's an overload that returns a list of CompilationMessages. These messages have things like line and column numbers for syntax errors in DNA, and a short message describing what's wrong. So first step is to get Scintilla to send text through that ParseDNA method, and provide red squiggly lines for syntax errors. The parsing should be fast enough that you can run it on a background thread whenever there's a pause in typing (similar to what Visual Studio does).
After that, syntax highlighting would be good. You can get a list of known sysvars and commands in Sunweaver.DNASystem.Sysvars and Sunweaver.DNASystem.Commands. Anything else is stored in the Sunweaver.Chromosome you get back after you parse DNA.
After that, stuff to let you "go to definition" for codules would be neat. But I'm not sure how that'll work. At some point you might need to dig in to the code for parsing DNA and get your hands dirty. Hopefully it makes sense. And of course, the unit tests are good for figuring out how something is supposed to work.
Once you have a simple prototype working I'll help you get the code in to the repository in a way that makes sense.