neohaskell / NeoHaskell

⏩ NeoHaskell is a dialect of Haskell that is focused on newcomer-friendliness and productivity.

Home Page:https://neohaskell.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the CLI support generating mobile apps

NickSeagull opened this issue · comments

As per the tweet I made some time ago: https://twitter.com/NickSeagull/status/1700859705021571543

It is completely possible to create native mobile apps using NeoHaskell as the main codebase and a thin HyperView client that renders what NeoHaskell sends to it. (Caching the views so they have offline mode of some sorts)

The HyperView client part is an implementation detail that should be hidden from the users unless they really want to "eject" it and modify to their tastes (e.g. adding other native functionalities not handled by HyperView), but ideally in the future this client should be also configurable through NeoHaskell.

The CLI tool should be able to generate the client in an easy and transparent way for the users, as well as the APK, whatever iOS uses. Or even desktop apps, as React Native supports it.

commented

Or even desktop apps, as React Native supports it.

Would this work in the same way as Tauri? Wondering about performance implications.

Yes, probably the same as Tauri in terms of packaging, but it'd be React Native instead of a webview

commented

It is completely possible to create native mobile apps using NeoHaskell as the main codebase

What codebase?

What codebase?

The one of the user