bwinton / language-human-resource-machine

An Atom Grammer for Human Resource Machine code.
MIT License
1 stars 1 forks source link

regex improvements #1

Closed arma26 closed 8 years ago

arma26 commented 8 years ago

Hi, thanks for the language plugin. I've made some improvements to behave more like the game's parser.

bwinton commented 8 years ago

Also, thank you so much for the changes! I didn't know that the instructions could be indented more or less, and this will definitely help me write clearer programs. :smile:

arma26 commented 8 years ago

Indentation was one of the first things I tried, my editor defaults to 2 spaces so the double indent bugged me off the bat. I've got to say thanks you again for the plugin, I was dealing with a pretty hairy 3-sort solution and was questioning whether I was going mad or not because it simply wouldn't import. Somehow 2 instances of "COPYT0" (with a zero) found their way into my code, which I found after I installed your plugin. I'd probably have given up and rewritten the whole thing, then get irritated that I got into that situation and write my own plugin. Lol