farisawan-2000 / cfront-3

A research repository into AT&T Cfront, now converted to build with a modern compiler
11 stars 2 forks source link

Cfront 3.0.3

AT&T/Bell Labs C++ to C translator from 1994, modified to build on modern hardware

This repo contains the source of cfront and the c++filt demangler. It's currently being used to research how Kirby 64 implemented its C++ code, and will eventually be integrated into the project as a middleman translator.

cfront currently depends on an ancient version of yacc to build correctly, since the syntax has changed since 1994, and using a version from that era is a lot easier than learning yacc syntax and rewriting the 3000 line file in a way that both works and is still compatible with the rest of the codebase

Build Instructions

Running

Contributing