-
Notifications
You must be signed in to change notification settings - Fork 4
Home
froid
is a library for programming Android applications in the Frege programming language. The project is still nascent but usable. The plan is to have it mostly functional by May 2019 (Android is a HUGE library to define bindings to). Till then the project is under active development and contributions are welcome.
Meant for use with Android Studio.
Add the following line to the top of your app's gradle file.
...
apply from: 'https://raw.githubusercontent.com/mchav/froid/master/froid.gradle'
...
For syntax highlighting download the Haskell plugin for Android studio (File -> Settings -> Plugins
). To enable Haskell syntax highlighting for Frege, got to File -> Settings -> Editor -> FileTypes
and add the extension *.fr
to the list of extensions for Haskell files.
To create a minified jar add the following proguard rules to your project. In essence most of what you're doing is removing warnings for Frege code.
At some point I intend to make a Frege plugin for intelliJ/Android Studio. Manual configuration is tedious. Gradle/Intellij/Android Studio experts are welcome.
Michael Chavinda 2017