Skip to content

Oumayma-hy/Compiler-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUTHORS
-------

- Belarbi Molka
- El Bez Oumayma
…

===============

Description of the project
--------------------------

This μ-project is a straightforward compiler implemented in OCaml. 
It translates expressions from a simple language into executable commands for a stack-based virtual machine called Pfx.
 The compiler consists of a lexer, parser, and evaluator, each responsible for different stages of the compilation process.
===============

Sources
-------

Git repository: https://github.com/Oumayma-hy/Compiler-




===============

How to…
-------

…retrieve the sources?

  git clone https://github.com/Oumayma-hy/Compiler-.git 

…compile?

  dune clean 
  dune build

…execute and test?
This command is used to test the basicPfx : 
  dune utop and then use the libraries
  (from project root) dune exec expr/main.exe -- expr/basic/tests/an_example.expr

this command is used to test the funPfx : 
    dune utop and then use the libraries
  (from project root) dune exec expr/main.exe -- expr/fun/test/an_example.expr
  

===============

Progress
--------

- We stopped at question 9.3 in the code part
-----------------

===============

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages