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

start4.1

parent 73b1ebe4
No related branches found
No related tags found
No related merge requests found
/_build/
\ No newline at end of file
/_build/
*/.merlin
*/*/.merlin
\ No newline at end of file
(lang dune 2.5)
(lang dune 2.1.3)
(name langlog)
......
type command =
type command = Push of int | Pop | Swap | Add | Sub | Mul | Div | Rem
DefineMe (* Question 4.1 *)
type program = int * command list
......
(* The type of the commands for the stack machine *)
type command =
DefineMe (* Question 4.1 *)
type command = Push of int | Pop | Swap | Add | Sub | Mul | Div | Rem
(* The type for programs *)
type program = int * command list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment