Skip to content

WIP: Transition to eio (version with Eliom_stream)#846

Draft
balat wants to merge 21 commits intomasterfrom
to-eio2
Draft

WIP: Transition to eio (version with Eliom_stream)#846
balat wants to merge 21 commits intomasterfrom
to-eio2

Conversation

@balat
Copy link
Member

@balat balat commented Aug 25, 2025

This branch is an experimental version of Eliom using Eio instead of Lwt.

To test it:

opam switch create ocsigen-eio 5.2.0
eval $(opam env --switch=ocsigen-eio)
opam pin -n add eio_js_backend https://github.com/ocaml-multicore/eio_js.git#js_events
opam pin -n add js_of_ocaml-eio https://github.com/ocaml-multicore/eio_js.git#js_events
opam pin -n add ocsipersist https://github.com/Julow/ocsipersist.git#to-eio
opam pin -n add ocsipersist-lib https://github.com/Julow/ocsipersist.git#to-eio
opam pin -n add ocsipersist-sqlite https://github.com/Julow/ocsipersist.git#to-eio
opam pin -n add ocsipersist-sqlite-config https://github.com/Julow/ocsipersist.git#to-eio
opam pin -n add ocsigenserver https://github.com/Julow/ocsigenserver.git#to-eio
opam pin -n add eliom https://github.com/ocsigen/eliom.git#to-eio2
opam pin -n add ocsigen-toolkit https://github.com/ocsigen/ocsigen-toolkit.git#to-eio
opam pin -n add ocsigen-start https://github.com/ocsigen/ocsigen-start.git#to-eio
opam install ocsigen-start
eliom-distillery -template os.pgocaml -name testocseio
cd testocseio
opam install .

Install postgresql, npm and sass. Then:

make db-init
make db-create
make db-schema
make test.byte

Then open http://localhost:8080

@balat balat force-pushed the to-eio2 branch 3 times, most recently from e62e855 to cf27bd1 Compare August 25, 2025 13:42
@balat balat changed the title To eio2 WIP: Transition to eio (version with Eliom_stream) Aug 25, 2025
@balat balat force-pushed the to-eio2 branch 4 times, most recently from 7dc0027 to 11e0e9e Compare August 27, 2025 17:50
@balat balat force-pushed the to-eio2 branch 2 times, most recently from 4071755 to ac770f8 Compare January 18, 2026 13:43
@balat balat force-pushed the to-eio2 branch 2 times, most recently from 7527170 to e3c4ad9 Compare January 19, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants