Skip to content
Snippets Groups Projects
Commit d3737d0c authored by Claire GIROT--PERSON's avatar Claire GIROT--PERSON
Browse files

MAJ_commentaires

parent e5e70038
No related branches found
No related tags found
No related merge requests found
(* Question 4.1 *)
type command = Push of int | Pop | Swap | Add | Sub | Mul | Div | Rem
type program = int * command list
(* add here all useful functions and types related to the AST: for instance string_of_ functions *)
(* Add here all useful functions and types related to the AST: for instance string_of_ functions *)
let string_of_command = function
| Push x -> "Push " ^ string_of_int x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment