2

I want to check the info of Coq grammar so I loaded grammar.cma into utop:

#load "/home/xxx/.opam/system/lib/coq/grammar/grammar.cma";;

but there's an error:

Error: Reference to undefined global `Grammar'

Coq version: 8.5.0 OCaml version: 4.02.3 utop version: 1.19

Pallar Pak
  • 23
  • 2

1 Answers1

3

I suggest you use the Drop command, that will actually give you access to a ML toplevel for further development.

$ coqtop.byte
Coq < Drop.
# 

Documentation for Drop: https://coq.inria.fr/refman/Reference-Manual008.html#hevea_command137

ejgallego
  • 6,709
  • 1
  • 14
  • 29