alt.hn

7/25/2026 at 1:42:28 PM

My web version of Mars MIPS, now has built-in C compiler

https://webmars.nfiles.top/

by nenepbl

7/25/2026 at 4:53:22 PM

From the git repo:

    webMARS is a browser implementation of MARS MIPS 4.5: editor, assembler, simulator, help system, and classic MARS tools in a single web UI.

    Overview

    - Single-page IDE for editing, assembling, running, stepping, backstepping, and debugging MIPS programs.
    
    - Multi-window desktop/mobile UI with registers, text/data segments, labels, messages, Run I/O, and tool windows.
    
    - Built-in help system with localized pages and embedded reference material.
    
    - Persistent browser workspace for files, session restore, settings, and tool state.
    
    - Single JavaScript assembler and simulator core, with no native runtime dependency.
And from [0]:

    MARS is a lightweight interactive development environment for programming in MIPS assembly language, intended for educational-level use with Patterson and Hennessy's Computer Organization and Design.
---

To run the demo program:

1. Run > Compile

1a. In the popup window select 'Open ASM as new file'

2. Run > Assemble, context will change to the 'Execute' tab.

3. Click the little 'Go' button near top-center.

4. ???

5. Profit!

---

[0] https://computerscience.missouristate.edu/mars-mips-simulato...

by all2

7/26/2026 at 6:41:57 PM

Sorry, but I didn't understand your comment...

by nenepbl

7/25/2026 at 4:54:10 PM

Very nifty! Looks amazing ... :) I love the Netbeans ish style UI

by vkaku

7/25/2026 at 4:57:39 PM

I also noticed the web UI right away, very clean and functional.

by accrual

7/26/2026 at 6:46:47 PM

Thanks for noticing that! Maintaining an interface identical to MARS in Java was a huge challenge!

by nenepbl

7/25/2026 at 11:20:19 PM

Takes me back to undergrad. Neat!

by eleventen

7/25/2026 at 7:13:26 PM

Looks quite well done, congrats.

by pjmlp

7/25/2026 at 7:09:38 PM

Awesome, I was working on something similar pre-LLMs, and it was a slog, glad it's getting done.

by phendrenad2