Institute of Computer Science
  1. Courses
  2. 2017/18 spring
  3. Automata, Languages and Compilers (LTAT.03.006)
ET
Log in

Automata, Languages and Compilers 2017/18 spring

  • Üldinfo
  1. Õppekorraldus
  2. Eksam
  3. Reeglid
  4. Töövahendid
  5. Projekt
  • Kava
  1. Soojendus
  2. Regulaaravaldised
  3. Olekumasinad
  4. Lõplikud automaadid
  5. Avaldise struktuur
  6. Grammatikad ja lekser
  7. Käsitsi parsimine
  8. ANTLR intro
  9. AST loomine
    1. ANTLRi parsepuu
    2. AST klassid
    3. Kodutöö (Visitor*)
  10. Interpretaator
  11. Semantiline analüüs
  12. Kompilaator
  • Moodle
  • Bitbucket
  • Fleep!

9. AST loomine

Sellel nädalal tegeleme eelkõige abstraktse süntakspuu loomisega. Eelmises kodutöös huvitas meid vaid see, kas mingi sõne on AKTK programm, aga mitte selle osade omavahelised seosed ja struktuur, sh tehete prioriteedid ja assotsiatiivsused. Nüüd vaatame ja töötleme ka parsepuid, mille puhul see kõik on oluline.

  • ANTLRi parsepuu läbimine on peamine praktikumi teema.
  • AST klassid, mis on kodutöös kasutusel, võiks ka üle vaadata.

Praktikum ja kodutöö on ettevalmistuseks ka eksami põhiosa jaoks, kus tuleb samuti puud töödelda.

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment