Repl.it is pretty much the standard when it comes to doing portable programming or needing an IDE in a pinch. However, it has the downside of always needing a reliable network connection and not supporting graphical applications. If your internet is unreliable, using Repl.it can be frustrating. NCC attempts to fix the short comings of online IDEs by providing the user's browser with the C++ toolchain for instant offline use.
What it does
Toy++ is a graphical sample web app that uses NCC. In it, the user can click a button to display the generated .wasm byte code in the console with annotations about what each byte does. Toy++ is built using the Monaco editor made by Microsoft. It has all the built-in features such as multi-cursor. I added extra code to support using CTRL+D to duplicate the current line or selection without overwriting the clipboard.
How I built it
Challenges I ran into
Accomplishments that I'm proud of
Basic support for variables, arithmetic, control flow, and graphical function calls are available in the MVP.
What I learned
C++ grammar is complicated and difficult to compile. I should choose projects appropriate for the amount of time allotted to a given hackathon.
What's next for Nathan C Compiler
I will finish supporting the core C++ feature set and make Toy++ a fun C++ learning experience. Then, I will create a separate more full-featured IDE to compete with Repl.it.