From 634d05acea9c5fcbf26f49bba94dfbc7fb4d7d84 Mon Sep 17 00:00:00 2001 From: able Date: Wed, 13 Mar 2024 05:10:45 -0500 Subject: [PATCH] UI Lisp idea --- sysdata/ui_lisp/doc_example.ul | 4 ++++ sysdata/ui_lisp/documentation.ul | 2 ++ sysdata/ui_lisp/ui_lisp.ul | 7 +++++++ sysdata/ui_lisp/windowing_system_ui_lang.md | 5 +++++ 4 files changed, 18 insertions(+) create mode 100644 sysdata/ui_lisp/doc_example.ul create mode 100644 sysdata/ui_lisp/documentation.ul create mode 100644 sysdata/ui_lisp/ui_lisp.ul create mode 100644 sysdata/ui_lisp/windowing_system_ui_lang.md diff --git a/sysdata/ui_lisp/doc_example.ul b/sysdata/ui_lisp/doc_example.ul new file mode 100644 index 0000000..6ebdae0 --- /dev/null +++ b/sysdata/ui_lisp/doc_example.ul @@ -0,0 +1,4 @@ +/// a b c +void main(){} + +// Generated documentation below diff --git a/sysdata/ui_lisp/documentation.ul b/sysdata/ui_lisp/documentation.ul new file mode 100644 index 0000000..fbce285 --- /dev/null +++ b/sysdata/ui_lisp/documentation.ul @@ -0,0 +1,2 @@ +(label "Documentation") +(label "") diff --git a/sysdata/ui_lisp/ui_lisp.ul b/sysdata/ui_lisp/ui_lisp.ul new file mode 100644 index 0000000..bbff2cd --- /dev/null +++ b/sysdata/ui_lisp/ui_lisp.ul @@ -0,0 +1,7 @@ +(vertical + (horizontal + (label "Function main") + (button "goto declaration" (on_click "src/main.c:2"))) + (label "takes void") + (label "returns void") + (label "a b c")) \ No newline at end of file diff --git a/sysdata/ui_lisp/windowing_system_ui_lang.md b/sysdata/ui_lisp/windowing_system_ui_lang.md new file mode 100644 index 0000000..8c9bf9b --- /dev/null +++ b/sysdata/ui_lisp/windowing_system_ui_lang.md @@ -0,0 +1,5 @@ +- container + - horizontal + - vertical +- framebuffer +- \ No newline at end of file