Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Ada95 ANTLR v3 Target!

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.

Currently, a very basic scanner is produced with a tagged type in the specification. This won't compile as there is no runtime and I've not quite decided on how to implement the runtime as yet.

Runtime

  • Ada95 doesn't support mutually dependent packages, so this must be avoided at all costs.
  • Also, Ada95 doesn't have support for interfaces, so mix-in inheritance will be used where appropriate.
  • No labels