For the TLC project we were asked to make a compiler using flex and yacc to do unions (∪) and intersections of collection of sets. This is the what we where asked to do :
Ecrire un analyseur syntaxique (flex + yacc ) qui valide et évalue des expressions ensemblistes selon l'une des 2 versions de syntaxe.
Le lexer est a priori identique pour les 2 versions. On prendra soin de procéder de façon itérative par étape. Par exemple :
+ Elimination blancs
+ Constantes seules
+ Parsing ligne à ligne Opération "union"
+ Affectation et utilisation de Variables
+ Autres opérations
+ Version Fonctionnelle : fonction "union()" avec n arguments.
+ Idem pour "inter()". Version
+ Opérateur : gestion de l'ambiguité : parenthèses, associativité, priorité des opérateurs Traitement des erreurs syntaxiques, et lexicales.
+ ...
This project was the DS mark but we also got this it in the exam.
So here is the link to Github : https://github.com/HosniMansour/tlc-project
ReplyDeleteCommercial plumbers in Houston provide specialized plumbing services for businesses, industrial facilities, and large-scale properties. These professionals are equipped to handle complex systems, including water heaters, sewer lines, and backflow prevention, ensuring efficient and compliant operations. Their expertise extends to installing and repairing plumbing in new constructions, renovations, and emergency situations.
With 24/7 availability, commercial plumbers in Houston address urgent issues like burst pipes or sewer blockages. They prioritize safety, quality, and adherence to local codes, offering tailored solutions for various industries. Whether maintaining existing systems or designing new installations, these experts are crucial for uninterrupted business operations.