Reflex wrapper for the ACE editor
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ace-builds @ 9a9e786
app
lib
src/Reflex/Dom
.gitignore
.gitmodules
README.md
reflex-dom-ace.cabal

README.md

This package provides a Reflex wrapper around the ACE editor. It is very incomplete and was derived from code written for hsnippet. This is also intended to serve as an example of how to structure FFI packages that rely on external JS packages.

running

You can run the test app with the following (assuming you've got reflex-platform at .. and wai-app-static aka the warp binary installed in your path):

Using one terminal, from this project's directory do:

warp -d lib

Then in another terminal do:

../reflex-platform/work-on ghc ./.
cabal configure
cabal repl reflex-dom-ace-exe

That will drop you into the repl from which you can simply:

runDef

Then visit http://localhost:8888.