Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Make-lang.in
README
config-lang.in
lang-specs.h
tiny-basic-grammar.txt
tiny-buffered-queue.h
tiny-convert.cc
tiny-lexer.cc
tiny-lexer.h
tiny-parser.cc
tiny-parser.h
tiny-scope.cc
tiny-scope.h
tiny-symbol-mapping.cc
tiny-symbol-mapping.h
tiny-symbol.cc
tiny-symbol.h
tiny-token.cc
tiny-token.h
tiny-tree.h
tiny1.cc
tinyspec.cc

README

GCC Tiny Frontend
-----------------

This is an illustrative frontend for the Tiny Imperative Language (TIL)

The aim of this frontend is just to showcase how a front end can be implemented
in GCC. TIL is an extremely simple language. See the basic syntax in
tiny-basic-grammar.txt.

The interesting bits are all in <top-level>/gcc/tiny.

Goals:
  - be a front end example that can be understood and extended by a single developer

  Rationale: It may be tempting to attempt to start with other GCC frontends, but
    since they are production-grade their code is production-grade too, so it can
    be intimidating for newcomers.

Non-goals:

  - be production-grade