这是我当前的_oasis文件:
OASISFormat: 0.3
Name: testing syntax
Version: 0.1
Synopsis: testing
Authors: Johnathan Doeman
License: GPL-3
Executable testmain
Path: ./
BuildTools: ocamlbuild
BuildDepends: batteries, deriving-ocsigen, deriving-ocsigen.syntax
MainIs: main.ml请注意,ocsigen派生似乎已正确安装在我的系统上。在正确的#需要之后,我可以在顶层中使用它。我也在使用绿洲0.3版。
发布于 2012-07-16 05:06:00
在Oasis 0.3中可能有一种更好的方法,我还没有切换到它,但是以前你必须在你的_tags文件中包含这个(在oasis自动生成的部分之外):
<*.ml>: syntax_camlp4o发布于 2012-07-16 04:43:07
您是否已尝试将此信息放入_tags文件中?
在“oasis设置”之后,oasis只重写了_tags文件的一部分,用户编写的部分它允许按原样进行。
发布于 2012-12-20 09:59:27
https://stackoverflow.com/questions/11494912
复制相似问题