diff --git a/_c_api/placeholder.md b/_c_api/placeholder.md new file mode 100644 index 0000000..6e3b426 --- /dev/null +++ b/_c_api/placeholder.md @@ -0,0 +1,5 @@ +--- +layout: page +--- + +Watch this space. \ No newline at end of file diff --git a/_config.yml b/_config.yml index 8460c6d..4bcdf52 100644 --- a/_config.yml +++ b/_config.yml @@ -2,9 +2,27 @@ title: The Toy Programming Language description: Documentation For The Toy Programming Language keywords: programming,coding author: Kayne Ruse (Ratstail91) +version: 2.x +collections: + getting_started: + output: true + title: Getting Started + sort_by: guide_order + permalink: "/:collection/:path/" + tab-order: 1 + toy_api: + output: true + title: Toy API + permalink: "/:collection/:path/" + tab-order: 2 + c_api: + output: true + title: C API + permalink: "/:collection/:path/" + tab-order: 3 plugins: - jekyll-remote-theme -remote_theme: pixeldroid/programming-pages \ No newline at end of file +remote_theme: pixeldroid/programming-pages diff --git a/_getting_started/development-timetable.md b/_getting_started/development-timetable.md new file mode 100644 index 0000000..fa4e117 --- /dev/null +++ b/_getting_started/development-timetable.md @@ -0,0 +1,7 @@ +--- +layout: page +title: Development Timetable +guide_order: 4 +--- + +Watch this space. diff --git a/docs/quick-start.md b/_getting_started/quick-start-guide.md similarity index 73% rename from docs/quick-start.md rename to _getting_started/quick-start-guide.md index f5d253e..3436c54 100644 --- a/docs/quick-start.md +++ b/_getting_started/quick-start-guide.md @@ -1,4 +1,14 @@ -# Toy v2 Quick Start Guide +--- +layout: page +title: Toy v2 Quick-Start Guide +guide_order: 1 +--- + +Watch this space. + + \ No newline at end of file diff --git a/_getting_started/syntax-guide.md b/_getting_started/syntax-guide.md new file mode 100644 index 0000000..507655d --- /dev/null +++ b/_getting_started/syntax-guide.md @@ -0,0 +1,7 @@ +--- +layout: page +title: Syntax Guide +guide_order: 2 +--- + +Watch this space. diff --git a/_getting_started/tools.md b/_getting_started/tools.md new file mode 100644 index 0000000..f0ce8ba --- /dev/null +++ b/_getting_started/tools.md @@ -0,0 +1,7 @@ +--- +layout: page +title: Tools Guide +guide_order: 3 +--- + +Watch this space. diff --git a/_layouts/base.html b/_layouts/base.html index e3895fd..28bb1db 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -28,7 +28,7 @@ layout: compress - + @@ -36,7 +36,7 @@ layout: compress - + diff --git a/_toy_api/placeholder.md b/_toy_api/placeholder.md new file mode 100644 index 0000000..6e3b426 --- /dev/null +++ b/_toy_api/placeholder.md @@ -0,0 +1,5 @@ +--- +layout: page +--- + +Watch this space. \ No newline at end of file diff --git a/index.md b/index.md index 6cc1d03..83bf9ed 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,8 @@ +--- +layout: page +title: The Toy Programming Language +--- +
@@ -8,8 +13,17 @@ -There's nobody here but us chickens! +The Toy Programming Language is an imperative, bytecode-interpreted, embeddable scripting language. Rather than functioning independently, it serves as part of another program, the "host". This design allows for straightforward customization by both the host's developers and end users, achieved by exposing program logic through text files. -The v2 docs aren't visible yet, but they've been marked as "in progress", so expect the first few pages within a week. +This website presents the documentation for Toy version 2.x. + +## Nifty Features + +* Simple C-like/JS-like syntax +* Intermediate AST representation +* Strong, but optional type system +* First-class functions and closures +* Extensible with importable native code +* Can re-direct output, error and assert failure messages +* Open-Source under the Zlib license -In the meantime, [click here](https://github.com/Ratstail91/Toy) for the source code.