Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itzkiwisky/nox
Nox is a simple and declarative language to build interfaces with Loveframes for Löve2D
https://github.com/itzkiwisky/nox
Last synced: 15 days ago
JSON representation
Nox is a simple and declarative language to build interfaces with Loveframes for Löve2D
- Host: GitHub
- URL: https://github.com/itzkiwisky/nox
- Owner: itzKiwiSky
- Created: 2024-04-12T18:10:59.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-12T18:11:50.000Z (9 months ago)
- Last Synced: 2024-11-08T18:12:46.640Z (2 months ago)
- Language: Lua
- Size: 210 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nox
![alt text](assets/nox.png)A static declarative language designed to be a wrapper with the loveframes GUI library for love.
Implementing features like, object management with tags and element declarations.Was originally used on VisualNova Game engine to manage their screens, using a simple and declarative language to describe the UI same as HTML.
It also work as string based events, which means you will need a event handler to handle the connection between the UI and lua.
## Features
- Support special tags to manage data (for example translation, see documentation to see more about the tags.)
- Support for nested elements, so elements can be inside other element if it supports (see documentation to know more.)Not implemented features:
- Error handling
- Parser need more working I guess..## Example
```nox
(frame) {
(!button) text="this is button"
}
```Elements is defined by words inside parenthesis, like this: `(element)`, also Nox support self close element, something like this in html: ``. You can use self close element by adding `!` at the start of the element name. `(!closeelement)`
The valid elements are the same as described by the loveframes library.