没有合适的资源?快使用搜索试试~ 我知道了~
ocaml_plugin:自动生成和动态链接ocaml源文件
共81个文件
ml:34个
mli:16个
t:10个
需积分: 9 0 下载量 138 浏览量
2021-05-28
12:11:46
上传
评论
收藏 70KB ZIP 举报
温馨提示
ocaml_plugin-OCaml的dynlink的包装 ocaml_plugin是一个旨在使dynlink更容易的库。 它提供了一种高级的api,您可以在其中获取一些ml源文件中的一流模块,同时自动处理文件的编译。 通过opam安装 ocaml_plugin可以通过安装: $ opam install ocaml_plugin 用法 hello_world目录下提供了一个简单示例。 推荐的设置通常涉及代码中的2个步骤 定义插件的接口,以及一个univ值 应用函子以获取自定义的插件加载程序plugin_intf.ml: module type S = sig val message : string end let univ_constr = ( Univ_constr. create " Plugin_intf.S " sexp_of_opaque : (module S
资源推荐
资源详情
资源评论
收起资源包目录
ocaml_plugin-master.zip (81个子文件)
ocaml_plugin-master
.gitignore 33B
README.md 2KB
bin
ocaml_embed_compiler.mli 26B
dune 200B
ROLL_NEW_VERSION 195B
ocaml_embed_compiler.ml 7KB
test
jbuild-ignore 8B
plugin_loader.ml 3KB
test_with_sexp_dep.mli 73B
test_with_sexp.ml 154B
test-inferred-interface.t 410B
dune 630B
setup-script 317B
test_lib
dune 96B
sync_default_warnings.mli 27B
test.ml 60B
sync_default_warnings.ml 714B
test-persistent-archive.t 997B
test-cache.t 1KB
test-warnings.t 2KB
test-run-plugin-toplevel.t 182B
test-basic.t 2KB
test_with_sexp.mli 74B
test-ocamldep.t 1KB
test-positions.t 359B
test_with_sexp_dep.ml 193B
test-language-features.t 869B
test-trickier.t 1KB
CHANGES.md 7KB
hello_world
bin
plugin_007.ml 33B
plugin_001.mli 46B
dune 146B
plugin_005.ml 59B
plugin_003.ml 72B
plugin_001.ml 173B
run.ml 4KB
plugin_002.ml 29B
plugin_006.ml 33B
plugin_004.ml 264B
src
dune 95B
plugin_intf.ml 163B
CONTRIBUTING.md 2KB
src
shell.mli 1KB
ocaml_plugin.ml 447B
plugin_uuid.ml 2KB
import.ml 147B
dynloader.mli 12KB
plugin_cache.mli 3KB
ocamldep.mli 1KB
dune 229B
plugin_cache.ml 16KB
params.mli 274B
tar.mli 239B
ocamldep.ml 5KB
compiler.mli 5KB
params.ml 249B
tar.ml 917B
ocaml_fake_archive.c 620B
dynloader.ml 26KB
compiler.ml 17KB
shell.ml 5KB
plugin_uuid.mli 513B
ml_bundle.mli 564B
ml_bundle.ml 3KB
LICENSE.md 1KB
dune-project 16B
ocaml_plugin.opam 676B
sample
bin
dune 131B
config.mli 226B
what_to_test.txt 3KB
config.ml 631B
run.ml 8KB
src
dsl.ml 1011B
dune 95B
dsl.mli 528B
config
config_util.ml 182B
config_02.ml 85B
config_01.ml 362B
config_v1_error.ml 76B
syntax_error.ml 114B
Makefile 259B
共 81 条
- 1
资源评论
是CC阿
- 粉丝: 20
- 资源: 4744
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功