update readme

This commit is contained in:
pls.153 2022-03-26 08:08:49 +01:00
parent d4a904ed26
commit 6b758bd490

View file

@ -32,10 +32,18 @@ the `lqml` executable.
Info Info
---- ----
This shows how to run CLOG on mobile. It doesn't need a webserver, but uses a This shows how to run CLOG on mobile. It uses two different approaches,
simple QML `WebSocketServer` instead. The webview is the native one of the depending on the OS:
mobile device, which has some restrictions: it can't overlap with QML items,
and things like swiping don't work. * direct calls to the browser to run JS, and a small hack to call back to CLOG
on browser events
* a simple local websocket-server; this is needed on iOS, where the above
approach doesn't work
The webview is the native one of the mobile device, which has some
restrictions: it can't overlap with QML items, and things like swiping don't
work.
On the second page you can see a log of CLOG messages, and start Swank from the On the second page you can see a log of CLOG messages, and start Swank from the
REPL. Just connect from Slime using the WiFi IP of the mobile device. REPL. Just connect from Slime using the WiFi IP of the mobile device.