Skip to content

SAtacker/quick-ftxui

Repository files navigation

Quick-FTXUI

Linux Build Windows Build

Build instructions:

mkdir build
cd build
cmake .. -G "Ninja" -DQUICK_FTXUI_TESTS=ON
ninja
./quick-ftxui

Linux snap build:

Upload your game to github and visit https://snapcraft.io/build.

Status

It can parse the following code

{
    Button{
        "arg1",
        "arg2"
    }
}

asciicast

How it should look like

  • Button, Exit are identifiers
  • Button is a component type
  • | is a decorator operator
  • Blue is a decorator
  • The operation plain | decorator returns nice type
  • render is like a main function, just render the component

Grammar

nice -> plain | (nice >> decorator_op >> decorator)

my_component = Button("Nothing",Exit) | Blue
render my_component

About

**WIP**

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published