User Tools

Site Tools


compilers
Return to Home page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
compilers [2024/04/09 14:25] – [Calendar] zioskenzcompilers [2024/04/22 14:19] – [Assignments] zioskenz
Line 13: Line 13:
 */ */
  
 +  * [2024/04/09]: Updated practice calendar until the end of the course, added solution of the first laboratory, and text of the second laboratory.
   * [2024/03/21]: Welcome to the Formal Languages and Compilers course.   * [2024/03/21]: Welcome to the Formal Languages and Compilers course.
  
Line 185: Line 186:
  
  
-  * **Laboratory 1:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_1.pdf|laboratory_1.pdf]]\\ Regular expression and the scanner JFlex\\ Before starting try to compile and to understand the following example: [[https://www.skenz.it/repository/compilers/classroom/exClass-1.zip|exClass-1.zip]]+  * **Laboratory 1:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_1.pdf|laboratory_1.pdf]]\\ Regular expression and the scanner JFlex\\ Before starting try to compile and to understand the following example: [[https://www.skenz.it/repository/compilers/classroom/exClass-1.zip|exClass-1.zip]]\\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex1-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex1-2.zip|Exercise 2]], [[https://www.skenz.it/repository/compilers/exercises/ex1-3.zip|Exercise 3]]  
 +  * **Laboratory 2:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_2.pdf|laboratory_2.pdf]]\\ Exercises regarding the JFlex scanner.
  
 /* /*
-  * \\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex1-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex1-2.zip|Exercise 2]], [[https://www.skenz.it/repository/compilers/exercises/ex1-3.zip|Exercise 3]]  +  * \\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex2-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex2-2.zip|Exercise 2]] 
-  * **Laboratory 2:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_2.pdf|laboratory_2.pdf]]\\ Exercises regarding the JFlex scanner.\\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex2-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex2-2.zip|Exercise 2]]+
   * **Laboratory 3:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_3.pdf|laboratory_3.pdf]]\\ Implement a parser for a simplified version of the C programming language (mini C), and a parser for all the C programming language\\ **Provided code:** for the first exercise the scanner, the main file, the makefile and part of the parser are provided: [[https://www.skenz.it/repository/compilers/exercises/es3_before/compiler_es3_before.zip|compiler_es3_before.zip]]\\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex3-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex3-2.zip|Exercise 2]], [[https://www.skenz.it/repository/compilers/exercises/ex3-3.zip|Exercise 3]]   * **Laboratory 3:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_3.pdf|laboratory_3.pdf]]\\ Implement a parser for a simplified version of the C programming language (mini C), and a parser for all the C programming language\\ **Provided code:** for the first exercise the scanner, the main file, the makefile and part of the parser are provided: [[https://www.skenz.it/repository/compilers/exercises/es3_before/compiler_es3_before.zip|compiler_es3_before.zip]]\\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex3-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex3-2.zip|Exercise 2]], [[https://www.skenz.it/repository/compilers/exercises/ex3-3.zip|Exercise 3]]
   * **Laboratory 4:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_4.pdf|laboratory_4.pdf]]\\ Parsing of a logic program and error handling for the mini C programming language.\\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex4-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex4-2.zip|Exercise 2]]   * **Laboratory 4:** [[https://www.skenz.it/repository/compilers/laboratory/laboratory_4.pdf|laboratory_4.pdf]]\\ Parsing of a logic program and error handling for the mini C programming language.\\ **Solutions:** [[https://www.skenz.it/repository/compilers/exercises/ex4-1.zip|Exercise 1]], [[https://www.skenz.it/repository/compilers/exercises/ex4-2.zip|Exercise 2]]
Line 218: Line 220:
 */ */
  
 +The programming part of the exam can be performed by doing an assignment.
 +
 +Assignments are reserved only for students attending the course the first time this semester.
 +
 +Students have to send an application for the assignment to riccardo.sisto [at] polito.it and stefano.scanzio [at] polito.it within **29 April, 2024**. The application must contain a curriculum, which has to include the known software and the list of passed exams, both master and bachelor degrees, with the related scores. In addition, students have to provide the list of assignments they are interested in, sorted by preference (most preferred first). The allocation of the assignments to students will be communicated within **03 May, 2024**. Possibly, depending on the curriculum or on the number of requests, some requests may not be accepted.
 +
 +The file with the list of assignments can be found under "Materiale Didattico 2023/24" in Portale della Didattica in the file "assignments_2023-2024.pdf".
 +
 +For any information do not hesitate to contact us.
 ==== Previous assignments ==== ==== Previous assignments ====
   * [[compilers:Flex Bison]]: Implementation of laboratories using the Flex scanner and the Bison parser in C   * [[compilers:Flex Bison]]: Implementation of laboratories using the Flex scanner and the Bison parser in C

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=diff&rev2%5B0%5D=1712665502&rev2%5B1%5D=1713788369&difftype=sidebyside
/web/htdocs/www.skenz.it/home/data/pages/compilers.txt · Last modified: 2024/05/15 16:22 by zioskenz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki
Privacy Policy