finds.dev

hajali-amine/wpf-compiler-interface

A basic desktop interface to use a mini-java compiler that we developed.

View on GitHub

★ 7Cupdated Jun 2022

// the take

A university project pairing a Lex/YACC-based Mini Java compiler with a WPF desktop frontend. The compiler handles lexical and syntax analysis with some semantic passes; the WPF app shells out to the parser executable and displays its output. This is student work, not a production tool.

The classic Lex/YACC pipeline is implemented correctly enough to be a working example of compiler front-end construction. Separating the compiler into a standalone executable that the GUI invokes is a reasonable architecture — keeps the C toolchain decoupled from the .NET layer. The repo is clean and small, which makes it easy to trace the full pipeline without wading through boilerplate.

The compiler stops at parsing — there is no code generation that produces runnable output, so 'compiler' is generous. The WPF integration is just a shell wrapper around a .bat file, meaning it is Windows-only and brittle to path issues. Last touched in 2022 with 7 stars, this is clearly homework that was never maintained or extended. Error reporting from the compiler back to the UI almost certainly amounts to raw stdout dumps.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
7
Forks
1
Language
C
Last commit
11 Jun 2022

// nearby

If wpf-compiler-interface isn't quite it.

All repos →