Engenharia de Linguagens

Engenharia de Linguagens (2010/11)

Análise e Transformação de Software

Exemplos para as aulas

Notas sobre AnTLR

  • Configurar CLASSPATH para permitir a invocação via linha de comandos (Windows): set CLASSPATH = %CLASSPATH%;pathANTLR; onde a pathANTLR é a respectiva path para o ANTLR (.jar).

  • Fazer download dos seguintes ficheiros Test.java e input.txt para a pasta "output" para onde foram gerados os ficheiros na alínea anterior.

  • Executar "javac *.java" e finalmente "java Test".

Fichas de Avaliaçao

Ficha I


r1 - 18 Oct 2010 - 05:58:27 - PedroRangelHenriques
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Syndicate this site RSSATOM