diff options
| -rw-r--r-- | docs/index.md | 9 | ||||
| -rw-r--r-- | docs/syntax/index.md | 11 | ||||
| -rw-r--r-- | docs/type_system/index.md | 7 | ||||
| -rw-r--r-- | mkdocs.yml | 2 |
4 files changed, 27 insertions, 2 deletions
diff --git a/docs/index.md b/docs/index.md index e50ff97..8d651be 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ ## Overview -KPL is a statically typed and just in time compiled scripting language. The goal is to be something lower level then JavaScript/Python/Ruby/LUA but on a higher level then Go. +KPL is a statically typed and just in time compiled scripting language. The goal is to be something lower level then JavaScript/Python/Ruby/Lua but on a higher level then Go. This specification not only describes the language syntax but it's implementation because syntax reflects the implementation and vice versa. @@ -22,4 +22,9 @@ This specification not only describes the language syntax but it's implementatio * Minimal dependencies, most X64 Linux distros shouldn't need to install anything to compile and run the source -* Lightweight, can run a VPS with only one Core and 1 Gigabyte of RAM +* Lightweight, can run a VPS with 1 CPU Core and 1 Gigabyte of RAM + +## Contents + +1. ##### [Syntax](./syntax/index.md) +2. ##### [Type System](./type_system/index.md) diff --git a/docs/syntax/index.md b/docs/syntax/index.md new file mode 100644 index 0000000..4e9e898 --- /dev/null +++ b/docs/syntax/index.md @@ -0,0 +1,11 @@ +# Syntax + +--- + +## Comments + +``` +// This is a comment until the end of the line + +/* Comment block */ +``` diff --git a/docs/type_system/index.md b/docs/type_system/index.md new file mode 100644 index 0000000..59cd18d --- /dev/null +++ b/docs/type_system/index.md @@ -0,0 +1,7 @@ +# Type System + +--- + +## Templates + +A template is an incomplete type @@ -4,3 +4,5 @@ repo_url: https://git.kpl.dev/kpl-specification/ repo_name: Markdown Source nav: - Main: 'index.md' + - Syntax: 'syntax/index.md' + - Type System: 'type_system/index.md' |
