Comments (7)
Reason just started supporting OCaml 4.07 so it should be somewhat easy to move... actually supporting both 4.07 and 4.08 is harder. I don't think it depends on #7 necessarily but they probably have similar solutions... choosing to compile different code in a PPX depending on the ocaml version?
from relit.
Does Typedtree change a lot between 4.06 -> 4.07 -> 4.08?
If so, a simple solution would be to use cppo in places where we need the code to be different. You can do stuff like this:
#if OCAML_VERSION >= (4, 0, 6)
(* All is well. *)
#else
#error "This version of OCaml is not supported."
#endif
from relit.
Yeah I think I'd rather use ppx_optcomp so we don't have to introduce tooling to work with another kind of preprocessor. I'm not sure what the actual changes are, but apparently making something like ocaml-migrate-parsetree for typed trees is much harder as they tend to change much more between versions.
from relit.
Ah yeah that looks better, we should use that.
from relit.
We support 4.07 now! But to get 4.06 working we'll likely need to use ppx_optcomp.
from relit.
Newbie here, working with reasonreact...
Is keeping in line with the latest OCaml compiler for bucklescript of any concern?
They seem to be going for 4.06.x, which should be coming up soon.
from relit.
Hey! Sorry it's taken a while to respond. Commit cacd325 is still on 4.06 so you could try checking that out when Bucklescript is ready. It's a little hard to change master to support both 4.06 and 4.08. If there ends up being a lot of interest in using Relit with Bucklescript specifically I'd be happy moving it to 4.06 for a while.
from relit.
Related Issues (15)
- Very simple toy example to demonstrate basic concepts (not in paper) HOT 2
- Avoid Failure at all costs HOT 3
- support `let notation $r = $regex` and add tests
- See if we can put lexer and parser in the same package as the notation definition HOT 2
- Debug mode!
- dune ppx support HOT 5
- Support for ppxlib.0.3.1+ HOT 1
- Update installation instructions to use opam
- Small context independence bugs HOT 7
- Specify notations in signatures HOT 2
- Make it so that read_to doesn't balk on extra spaces
- Make it so read_to returns the current splice if it reaches the end of the literal
- Do-notation HOT 2
- Add TLMs to OCaml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relit.