lexifi / lrt Goto Github PK
View Code? Open in Web Editor NEWLexiFi runtime types
Home Page: https://lexifi.github.io/lrt/lrt/Lrt/index.html
License: MIT License
LexiFi runtime types
Home Page: https://lexifi.github.io/lrt/lrt/Lrt/index.html
License: MIT License
I tried to install lrt
using OCaml 4.12.0 and I get following error:
#=== ERROR while compiling lrt.dev ============================================#
# context 2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | pinned(git+ssh://[email protected]/LexiFi/lrt.git#038ff963)
# path ~/03-src/game/_opam/.opam-switch/build/lrt.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lrt -j 15
# exit-code 1
# env-file ~/.opam/log/lrt-866229-099be7.env
# output-file ~/.opam/log/lrt-866229-099be7.out
### output ###
# Error: This expression has type
# [...]
# Ppxlib__Ast_pattern0.t
# but an expression was expected of type
# ((string Ppxlib__.Import.loc list * Ppxlib__.Import.pattern) option,
# 'b, 'c)
# Ppxlib__.Ast_pattern0.t =
# ((string Ppxlib__.Import.loc list * Ppxlib__.Import.pattern)
# option, 'b, 'c)
# Ppxlib__Ast_pattern0.t
# Type Ppxlib__.Import.pattern = Astlib.Ast_414.Parsetree.pattern
# is not compatible with type
# string Ppxlib__.Import.loc list * Ppxlib__.Import.pattern
I suppose my version of OCaml that is too recent. Are there any plans to update? What is the OCaml version you are using?
Also the instruction in the README.md does not work, for me opam pin add lrt [email protected]:LexiFi/lrt.git
did the trick.
Some details:
21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
How I tried to install lrt:
opam pin add landmarks git+https://github.com/lexifi/landmarks
opam pin add lrt git+https://github.com/lexifi/lrt
The command given in the readme doesn't work, btw, but that is a different issue. The compile error:
[ERROR] The compilation of lrt.dev failed at "dune build -p lrt -j 7".
#=== ERROR while compiling lrt.dev ============================================#
# context 2.1.4 | macos/arm64 | ocaml.4.14.1 | pinned(git+https://github.com/lexifi/lrt#038ff963)
# path ~/.opam/default/.opam-switch/build/lrt.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lrt -j 7
# exit-code 1
# env-file ~/.opam/log/lrt-79951-0603fb.env
# output-file ~/.opam/log/lrt-79951-0603fb.out
### output ###
# Error: This expression has type
# [...]
# Ppxlib__Ast_pattern0.t
# but an expression was expected of type
# ((string Ppxlib__.Import.loc list * Ppxlib__.Import.pattern) option,
# 'b, 'c)
# Ppxlib__.Ast_pattern0.t =
# ((string Ppxlib__.Import.loc list * Ppxlib__.Import.pattern)
# option, 'b, 'c)
# Ppxlib__Ast_pattern0.t
# Type Ppxlib__.Import.pattern = Parsetree.pattern
# is not compatible with type
# string Ppxlib__.Import.loc list * Ppxlib__.Import.pattern
Great to see this library! I would suggest providing a smaller Lrt
core. In particular I think Lrt.Check
and Lrt.Json
should rather be exposed as separate libraries.
Also, for consistency I'd go with typ_eq
or type_eq.ml
instead of TypeEq.ml
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.