mkdir build
cd build
cmake .. -G "Ninja" -DQUICK_FTXUI_TESTS=ON
ninja
./quick-ftxuiUpload your game to github and visit https://snapcraft.io/build.
It can parse the following code
{
Button{
"arg1",
"arg2"
}
}
Button,Exitare identifiersButtonis acomponenttype|is adecoratoroperatorBlueis a decorator- The operation
plain | decoratorreturnsnicetype renderis like a main function, just render the component
Grammar
nice -> plain | (nice >> decorator_op >> decorator)
my_component = Button("Nothing",Exit) | Blue
render my_component