Edit this page Backlinks This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Proiect LFA - Lexer in Python sau Haskell ===== * **[[lfa:proiect:etapa1 | Etapa 1 - Lexer cu AFD-uri]]** * **[[lfa:proiect:etapa2 | Etapa 2 - Transformare Regex - AFD]]** * **[[lfa:proiect:etapa3 | Etapa 3 - Lexer cu Regexuri si parser]]** ====== Etapa 4 - Parsare Regex si limbaj ====== Serializare lexer (ca sa ne legam direct cu etapa 1). Apoi parsare. Doua programe. ==== Limbajul 1: Imperative ==== <code> <prog> ::= <variable> '=' <expr>; | begin <instruction_list> end | while (<expr>) do <prog> od | if (<expr>) then <prog> else <prog> fi <instruction_list> ::= [<prog>] <expr> ::= <expr> + <expr> | <expr> > <expr> | <expr> == <expr> | <variable> | <integer> </code> ==== Limbajul 2: Lisp ==== ==== Limbajul 3: Html ??? ==== ===== Metodologia de testare: ===== Combinam expresii din fisierul de referinta in specificatii. Mai sunt necesare detalii de clarificat.