Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vendethiel/translator-backend.ocaml
Backend to Translator using Ocaml + Dream
https://github.com/vendethiel/translator-backend.ocaml
dream lwt ocaml ocaml-dream ocaml-lwt
Last synced: about 1 month ago
JSON representation
Backend to Translator using Ocaml + Dream
- Host: GitHub
- URL: https://github.com/vendethiel/translator-backend.ocaml
- Owner: vendethiel
- Created: 2024-01-08T21:08:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T22:24:30.000Z (12 months ago)
- Last Synced: 2024-04-14T15:05:58.317Z (9 months ago)
- Topics: dream, lwt, ocaml, ocaml-dream, ocaml-lwt
- Language: OCaml
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Translator Backend
OCaml REST backend to the PureScript Translator frontend.
Run with:
```
opam install --deps-only --yes .
dune exec bin/main.exe
```
You can also pass `--watch` to `dune exec` so it automatically picks up changes (and `--root .` if you need to specify it).To initialize the database, you can run:
```
sqlite3 db.sqlite -init structure.sql
```### `ocamlformat`
```
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/vendethiel/.opam/default/share/emacs/site-lisp")
(require 'ocp-indent)* for Vim, add this line to ~/.vimrc:
set rtp^="/home/vendethiel/.opam/default/share/ocp-indent/vim"
```