Depends how simple those rules are.
At minimum I can think you’d need to check the length of the file and make sure there’s no invalid opcodes or opcode-operand pairs.
True, though I think part of that is because people have to manually write the
.arduboy files in a lot of cases instead of there being some sort of UI for generating them.
Perhaps a sort of UI-based thingy or online upload form could kill three birds with one stone: validate the input, generate a
.arduboy and generate the files needed for adding to your repo. (If you can’t bypass the github phase then I’m sure making a bot account to do the PRs would be possible.)
That’s partly my fault. I was the one who added it and frankly I can’t even remember how/why I picked ‘Action’, by that point the three of us were worn out from having been discussing and working on D&U for weeks on end (and instead of taking a few days off like the other two I foolishly decided to enter the game jam and make a game in 2 days).