https://github.com/jezze/alfi
ALFI is a query language for graphical user interfaces.
https://github.com/jezze/alfi
browser c language
Last synced: 5 months ago
JSON representation
ALFI is a query language for graphical user interfaces.
- Host: GitHub
- URL: https://github.com/jezze/alfi
- Owner: jezze
- License: mit
- Created: 2019-05-25T20:56:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-31T03:40:17.000Z (about 6 years ago)
- Last Synced: 2024-11-08T19:42:28.138Z (over 1 year ago)
- Topics: browser, c, language
- Language: C
- Homepage:
- Size: 1.65 MB
- Stars: 21
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ALFI
ALFI is a query language for graphical user interfaces.
ALFI works in a similar way to SQL but instead of talking to a database you talk
to an ALFI client (or ALFI browser). The ALFI browser will convert the ALFI
queries into graphical elements (i.e. widgets) and render them on the screen.
An ALFI query will tell the client to either insert, delete or update an
element. ALFI is stateless so a typical use-case would be to have a regular web
server serving ALFI queries as responses from regular HTTP requests (like GET,
POST, etc).
The biggest strength of ALFI is that it requires very little technical skill to
get started. If you know basic SQL you can easily write ALFI too. Writing an
ALFI application is much simpler than writing an application using
HTML/JavaScript/CSS.
NAVI is a proof of concept client/browser for ALFI. It takes ALFI queries and
renders widgets in OpenGL. It is currently very much under development.
## Building / Installing
You need to have the glfw3 libraries installed in order to build NAVI from
soure. How you install those depends on your distribution of choice.
Build:
$ make
Install:
$ make install
And that's it.
## Running
To parse an alfi file:
$ alfi < example.alfi
To start navi:
$ navi
## Contact
jens.nyberg@gmail.com
http://github.com/jezze/alfi