User Tools

Site Tools


Action disabled: revisions
compilers
Return to Home page

Formal Languages and Compilers Course (year 2020/2021)

Assistant: Stefano Scanzio
www: https://www.skenz.it/ss
email: stefano.scanzio [ AT_SYMBOL ] polito.it

News

  • [2021/06/01]: Add 20200720.pdf exam
  • [2021/06/01]: All the material of the practical part of the course has been added, including the commented solution of an exam exam_20150903

Calendar

  • [2021/06/01] from 14:30 to 16:30/17:00 (VC “Portale della Didattica”) → Seventh classroom practice
  • [2021/05/27] from 16:00 to 19:00 (VC “Portale della Didattica”) → Seventh laboratory
  • [2021/05/25] from 16:00 to 17:30 (VC “Portale della Didattica”) → Sixth classroom practice
  • [2021/05/20] from 16:00 to 19:00 (VC “Portale della Didattica”) → Sixth laboratory
  • [2021/05/18] from 14:30 to 16:30 (VC “Portale della Didattica”) → Fifth classroom practice
  • [2021/05/06] from 16:00 to 19:00 (VC “Portale della Didattica”) → Fifth laboratory
  • [2021/05/04] from 16:00 to 17:30 (VC “Portale della Didattica”) → Fourth classroom practice
  • [2021/04/29] from 16:00 to 19:00 (VC “Portale della Didattica”) → Fourth laboratory
  • [2021/04/27] from 16:00 to 17:30 (VC “Portale della Didattica”) → Third classroom practice
  • [2021/04/22] from 16:00 to 19:00 (VC “Portale della Didattica”) → Third laboratory
  • [2021/04/20] from 16:00 to 17:30 (VC “Portale della Didattica”) → Second classroom practice
  • [2021/04/08] from 16:00 to 19:00 (VC “Portale della Didattica”) → Second laboratory
  • [2021/03/25] from 17:30 to 19:00 (VC “Portale della Didattica”) → First laboratory (Group 2: M-Z)
  • [2021/03/25] from 16:00 to 17:30 (VC “Portale della Didattica”) → First laboratory (Group 1: A-L)
  • [2021/03/23] from 21:00 to 22:30 (VC “Portale della Didattica”) → Tutoring about tool installation
  • [2021/03/18] from 16:00 to 17:30 (VC “Portale della Didattica”) → First classroom practice

Tools installation

Connect to VM: https://laibathome.polito.it/ (to enter use “s123456@studenti.polito.it” as id, the “Portale della didattica” password, and “POLITO”).
Guide about VLAIB: https://www.areait.polito.it/docs/SERV_354_3.PDF

Installation in your PC

Install Windows: How to download and install Jflex, Java, and Cup in the Windows operating system
Install Linux Bash: How to download, install and configure Jflex, Java, and Cup in the Ubuntu Linux operating system with bash shell
Install macOS: How to download, install and configure Jflex, Java, and Cup in the macOS operating system

Slides (Practice in classroom)

  • Practice 1: practice1_1.pdf, practice1_2.pdf, practice1_6.pdf
    Regular expressions and the scanner JFlex
    Other material: Context dependent regular expressions, inclusive states and exclusive states in Jflex

    Classroom example: exClass-1.zip.
    To compile and execute type the following commands:
    jflex exp.jflex
    javac Calc.java
    java Calc example_expr.txt

Laboratories

Assignments

Rules and assignments for the 2020/2021 academic year: Assignments20202021

Previous assignments

  • Flex Bison: Implementation of laboratories using the Flex scanner and the Bison parser in C
  • Ply: Implementation of laboratories using the Flex scanner and the Bison parser in C
  • Go to LLVM: Translator from the Go language to LLVM
  • Julia to LLVM: Translator from the Julia language to LLVM

Useful Resources

Pseudo Assembler interpreter

Exams

Proposed Theses (Master Degree)

Thesis proposals can be downloaded here: https://www.skenz.it/ss/theses
If interested, for informations, contact: stefano.scanzio [ AT_SYMBOL ] polito.it (tel. 011 090 5438) www: https://www.skenz.it/ss


If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/compilers?do=revisions
/web/htdocs/www.skenz.it/home/data/pages/compilers.txt · Last modified: 2021/06/16 11:33 by zioskenz

Privacy Policy