Thanks for your interest in this project!
So I went looking for an alternative LMC app... and there aren't any! The *idea* is well documented, but implementations are thin on the ground. Yours is excellent, especially the syntax colouring and single-stepping with line highlight. Unfortunately, I'm new to Java and can't figure out how to get this to be a standalone app, even though you kindly posted the source.
Download the JAR file:
here and double-click it. It will immediately launch the application.
So I went looking for an alternative LMC app... and there aren't any! The *idea* is well documented, but implementations are thin on the ground. Yours is excellent, especially the syntax colouring and single-stepping with line highlight.
That's exactly the reason I coded this LMC simulator: existing implementations were crap, often to the point of being unusable. Teaching students LMC without a parser & compiler is just cruel.
Unfortunately, I'm new to Java and can't figure out how to get this to be a standalone app, even though you kindly posted the source. I downloaded Eclipse, did the intro-tutorials, then pasted your code as a new project, but both 'checkAddress' and 'execute' are marked with red crosses, I *think* because 'EmulatorCrash cannot be resolved to a type'. Do I need to load a library/module/something to make this work? I did google 'EmulatorFeedback' and 'EmulatorCrash' but the only results point back to your page, which makes me think this is something specific to your code that I'm missing.
The posted sourcecode was the core of the simulator, and didn't contain any user-interface code, or code to parse and compile input.
PS No offence, but the anti-spam sign-up requirements for this BB are mighty steep for someone just wanting to ask a casual question!
I agree with your observation, but our experience is that anything less hard will cause a huge influx of (human!) spammers. Sorry for the inconvenience!