From 8d50b4bf8792be8b9a7211da8f4110ba045b5c49 Mon Sep 17 00:00:00 2001 From: c+1 Date: Mon, 22 May 2023 22:50:50 -0400 Subject: man.md --- examples/simple.halk | 2 +- man.md | 38 ++++++++++++++++++++++++++++++++++++++ man.txt | 38 -------------------------------------- src/main.c | 2 +- 4 files changed, 40 insertions(+), 40 deletions(-) create mode 100644 man.md delete mode 100644 man.txt diff --git a/examples/simple.halk b/examples/simple.halk index e88416b..391147b 100644 --- a/examples/simple.halk +++ b/examples/simple.halk @@ -1 +1 @@ -str:variable = "Hi."; +str:variable = 'Hi.'; diff --git a/man.md b/man.md new file mode 100644 index 0000000..3c31517 --- /dev/null +++ b/man.md @@ -0,0 +1,38 @@ +The HALK Programming Language +==================================================================================================== + +*version 0.0.1* +*2023-05-22* + +Syntax +==================================================================================================== + +Definitions +---------------------------------------------------------------------------------------------------- + +Calls +---------------------------------------------------------------------------------------------------- + +Data Structures +==================================================================================================== + +Namespaces +---------------------------------------------------------------------------------------------------- + +Structs +---------------------------------------------------------------------------------------------------- + +Logic & Program Flow +==================================================================================================== + +If / Else +---------------------------------------------------------------------------------------------------- + +For / While +---------------------------------------------------------------------------------------------------- + +Cond +---------------------------------------------------------------------------------------------------- + +Style +==================================================================================================== diff --git a/man.txt b/man.txt deleted file mode 100644 index 3c31517..0000000 --- a/man.txt +++ /dev/null @@ -1,38 +0,0 @@ -The HALK Programming Language -==================================================================================================== - -*version 0.0.1* -*2023-05-22* - -Syntax -==================================================================================================== - -Definitions ----------------------------------------------------------------------------------------------------- - -Calls ----------------------------------------------------------------------------------------------------- - -Data Structures -==================================================================================================== - -Namespaces ----------------------------------------------------------------------------------------------------- - -Structs ----------------------------------------------------------------------------------------------------- - -Logic & Program Flow -==================================================================================================== - -If / Else ----------------------------------------------------------------------------------------------------- - -For / While ----------------------------------------------------------------------------------------------------- - -Cond ----------------------------------------------------------------------------------------------------- - -Style -==================================================================================================== diff --git a/src/main.c b/src/main.c index 040ef73..38f0136 100644 --- a/src/main.c +++ b/src/main.c @@ -13,7 +13,7 @@ int main(int argc, char* argv[]) { long fsource_size; char *source; - fsource = fopen ("examples/hello.halk", "rb"); + fsource = fopen ("examples/simple.halk", "rb"); if (!fsource) { log_err("Source file not found"); exit(1); -- cgit v1.2.3