From 76ff5d914def4984d5b599177032ded71632a5ec Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Thu, 28 Nov 2019 15:47:10 -0500 Subject: started dealing with calling "type functions" --- README.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.html (limited to 'README.html') diff --git a/README.html b/README.html new file mode 100644 index 0000000..d3476a5 --- /dev/null +++ b/README.html @@ -0,0 +1,33 @@ +

toc

+ +

toc is a language which compiles to C.

+ +
+ +

About

+ +

toc is currently in development. It is not a stable language, +and there are almost definitely bugs right now. +I would recommend against using it for anything big or important. +Many parts of it may change in the future.

+ +

toc improves on C's syntax (and semantics) in many ways, +To declare x as an integer and set it to 5, +you can do:

+ +

+x := 5; // Declare x and set x to 5 (infer type)
+x : int = 5; // Explicitly make the type int.
+x : int; x = 5; // Declare x as an integer, then set it to 5. +

+ +

toc is statically typed and has many of C's features, but +it is just as fast in theory.

+ +

See docs for more information.

+ +
+ +

Help

+ +

If you find a bug in toc, please report an issue on GitHub.

-- cgit v1.2.3