https://github.com/reflex-frp/reflex-dom-ace
Reflex wrapper for the ACE editor
https://github.com/reflex-frp/reflex-dom-ace
frp functional-reactive-programming haskell reactive reflex-frp
Last synced: about 1 month ago
JSON representation
Reflex wrapper for the ACE editor
- Host: GitHub
- URL: https://github.com/reflex-frp/reflex-dom-ace
- Owner: reflex-frp
- Created: 2016-12-21T00:51:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-25T19:30:28.000Z (almost 6 years ago)
- Last Synced: 2025-04-05T07:41:32.556Z (2 months ago)
- Topics: frp, functional-reactive-programming, haskell, reactive, reflex-frp
- Language: Haskell
- Homepage: https://reflex-frp.org/
- Size: 221 KB
- Stars: 12
- Watchers: 24
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This package provides a Reflex wrapper around the ACE editor. It is very
incomplete and was derived from [code written for
hsnippet](https://github.com/mightybyte/hsnippet/blob/64cc17d2bf2bcce219f3ab8e96b7fd6071d5b56b/frontend/src/ACE.hs).
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:
```shell
warp -d lib
```Then in another terminal do:
```shell
../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:
```haskell
runDef
```Then visit [http://localhost:8888]().