probabilistic-lua:将 lua 变成概率编程语言

  • S3_930046
    了解作者
  • 959.7KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-24 04:57
    上传日期
概率lua 将 lua 变成一种概率编程语言。 这需要对 lua 调试库进行一些小的更改才能工作。 幸运的是,lua interpeter 非常轻量级; 我已经包含了一个经过必要修改的版本。 确保代码通过 LUA_PATH 环境变量可见。 例如,如果您从存储库根目录运行luajit ,您需要添加./?.lua和./?/init.lua以便require找到probabilistic包及其子模块。
probabilistic-lua-master.zip
内容介绍
probabilistic-lua =================== Turning lua into a probabilistic programming language. This requires a few small changes to the lua debug library to work. Fortunately, the lua interpeter is very lightweight; I've included a version of [LuaJIT](http://luajit.org/) with the necessary modifications. Make sure that the code is visible via your LUA_PATH environment variable. For example, if you run `luajit` from the repository root, you'll want to add `./?.lua` and `./?/init.lua` in order for `require` to find the `probabilistic` package and its sub-modules.
评论
    相关推荐