Krishna-13-cyber / quick-ftxui

**WIP**

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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**


Languages

Language:C++ 85.5%Language:CMake 13.9%Language:Shell 0.6%