Skip to content

Commit

Permalink
A few more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Sep 27, 2019
1 parent f2d9337 commit 33b068c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let version = "0.4"
(* Reference to the Elpi kernel *)
let kernel = ref None

(* Tools for printing to the browser console *)
(* Tools for printing to the browser's console *)
let escape s =
Js.to_string (Js.escape (Js.string s))

Expand Down
5 changes: 5 additions & 0 deletions lib/mlts_api/mltsAst.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
(*
Based on the official OCaml syntax:
https://caml.inria.fr/pub/docs/manual-ocaml/language.html
*)

type prog = module_item list

and module_item =
Expand Down
2 changes: 2 additions & 0 deletions lib/mlts_api/prologTest.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
open PrologAst

(* AST for MLTS programs written
uising the lProlog abstract syntax *)
let local_name = ("toto", 2)
let global_name = "tata"

Expand Down
5 changes: 5 additions & 0 deletions lib/mlts_api/translator.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
open MltsAst

(* Translator from the concrete syntax AST
(see mltsAST.ml)
to the lProlog abstract syntax AST
(see prologAst.ml) *)

module P = PrologAst

type def = { name: string; pos: Lexing.position }
Expand Down

0 comments on commit 33b068c

Please sign in to comment.