Skip to content

pasmomusic/reason-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native reimplementation in Reason (name needed)

This is a cross platform reimplementation of react native. It's written in Reason (a syntax for OCaml) and it's targetting native machine code for best performance. It's the best of both worlds: speed, portability, and great APIs.

There's a catch though: it's just a proof of concept.

How to install/contribute (host mac, target ios)

  • install opam
  • opam switch 4.04.0_ios -A 4.04.0
  • eval `opam config env`
  • Follow installation instructions here
  • opam pin add jbuilder https://github.com/janestreet/jbuilder.git
  • opam install jbuilder reason
  • jbuilder build -x ios - this builds the sources inside src
  • open OCaml.xcodeproj
  • Click run

For contributing:

  • run jbuilder runtest to run tests

Acknowledgements

This project is directly based on work by Cristiano Calcagno (React Mini) and whitequark (opam-cross-*).

About

Toy reimplementation of react native in Reason

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 93.6%
  • Objective-C 3.7%
  • C++ 2.7%