Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Ada95 ANTLR v3 Target

Author

Luke A. Guest (uk DOT co DOT archangeli AT laguestArchangel Interactive)

Status

I currently have a very basic Ada95Target.java file which produces package bodies and specifications using the GNAT filename convention. In conjunction with this, I've taken the Java.stg file from codegen/templates/Java and started to modify this to produce a lexical analyser package.

...

Java

Ada95

Comment

IntStream

ANTLR.Stream

Modified to be a generic abstract type so that type checking can
be used on the actual type in the stream.

BaseRecognizer

ANTLR.Root_Recogniser

The word "Root" is more consistent with the Ada runtime library

...