Commit Graph

281 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire da2500c3b1 Types
- Documented type aliases `size_t` and `ssize_t`
2023-07-07 22:23:45 +02:00
Tristan B. Velloza Kildaire 2f3bc7cc3e Types
- We now have both coercible ranges documented
2023-07-07 22:09:38 +02:00
Tristan B. Velloza Kildaire 1ba8eb2b89 Types
- Added TODO for negative ranges
2023-07-07 21:37:24 +02:00
Tristan B. Velloza Kildaire 4923275bd7 Types
- Added table of literals and the coompatible types they can be coerced to
2023-07-07 21:36:28 +02:00
Tristan B. Velloza Kildaire a7d5d21e6c Types
- Added some more info
2023-07-07 21:08:28 +02:00
Tristan B. Velloza Kildaire 9e57e2cdb2 Types
- Promotion is a thing
2023-07-07 20:48:50 +02:00
Tristan B. Velloza Kildaire 910de6fd09 Navbar
- Link to meta information
- Link to configuration information
2023-05-29 16:53:51 +02:00
Tristan B. Velloza Kildaire 3f0ea82896 - Updated documentation for the compiler sub-system 2023-05-29 16:53:35 +02:00
Tristan B. Velloza Kildaire 9032ad2825 - Documented the compiler configuration flags supported currently (includes stuff from `feature/meta_programming`) 2023-05-29 16:52:29 +02:00
Tristan B. Velloza Kildaire 866df01a3e Meta
- Added documentation on the meta engine
2023-05-29 16:52:01 +02:00
Tristan B. Velloza Kildaire 62a0ea33f2 - Documented some compiler configuration flags 2023-05-26 16:12:25 +02:00
Tristan B. Velloza Kildaire b90e25779f Pandoc processed 2023-05-07 11:41:28 +02:00
Tristan B. Velloza Kildaire 7e302b7e05 Updated 2023-05-07 11:40:45 +02:00
Tristan B. Velloza Kildaire a9c89d8c46 Types
- Moved all type system rule-related content into its own section
2023-04-23 17:58:26 +02:00
Tristan B. Velloza Kildaire 148c0943af Types
- Added information on the requirement of explicit casting
- Added a TODO section on literals coercion
2023-04-23 17:51:09 +02:00
Tristan B. Velloza Kildaire 5f967e167b - Pandoc processed 2023-04-23 15:01:54 +02:00
Tristan B. Velloza Kildaire 578d866f64 Types
- Cleaned up type table
2023-04-23 14:57:19 +02:00
Tristan B. Velloza Kildaire 5fc952b365 Pointers
- Removed now-completed TODOs
2023-04-23 12:15:26 +02:00
Tristan B. Velloza Kildaire bab189ea2c - Pandoc update 2023-04-21 08:30:41 +02:00
Tristan B. Velloza Kildaire 9e7f15761e Pointers
- Described code (WIP)
2023-04-20 23:42:34 +02:00
Tristan B. Velloza Kildaire 8de8658d7b Pointers
- Updated example code used for the "Mixing and matching" subsection
2023-04-20 23:38:34 +02:00
Tristan B. Velloza Kildaire af2a7f28e2 TODO: Added a todo for pointers 2023-04-20 21:31:31 +02:00
Tristan B. Velloza Kildaire 1d6004ac0b Pointers
- Added description for array syntax
2023-04-20 21:17:08 +02:00
Tristan B. Velloza Kildaire f27e340e9d - Cleaned up the homepage 2023-04-20 21:10:04 +02:00
Tristan B. Velloza Kildaire 3087a3c7cd Arrays
- Added stack-array coercion example
2023-04-20 15:25:58 +02:00
Tristan B. Velloza Kildaire 68d7ce5b8e - Attempt to fix the tables rendering 2023-04-19 17:36:14 +02:00
Tristan B. Velloza Kildaire 0bca21937b Grammar
- Updated `module` to have all `decl`(s) (if any) followed by a `";"`
2023-04-19 11:07:36 +02:00
Tristan B. Velloza Kildaire 191ac41b6c Grammar
- Defined `for` as `"for", "(", statement, ";", expr, ";", statement, ")", "{", {statement, ";"}, "}";`
- Fixed `if`, `while` and `funcDecl` to have a traoling `";"` after their `statement`.
2023-04-19 11:06:35 +02:00
Tristan B. Velloza Kildaire 21e9ad86a7 - Update `generateMarkdown()` in `helpers.sh` to copy over the logo 2023-04-19 10:35:49 +02:00
Tristan B. Velloza Kildaire 5e6591e998 - Cleaned up `mkdocs.yml` Mkdocs configuration 2023-04-19 10:29:48 +02:00
Tristan B. Velloza Kildaire aa9fdf41d4 - Pandoc rebuild 2023-04-19 10:21:58 +02:00
Tristan B. Velloza Kildaire e0cc56c710 Grammar
- Added `ident` to `expr`
2023-04-19 10:21:51 +02:00
Tristan B. Velloza Kildaire adc43e4212 - Pandoc rebuild 2023-04-19 10:21:28 +02:00
Tristan B. Velloza Kildaire 6563c36797 Grammar
- Moved `ident` from statements section to expression section
2023-04-19 10:21:17 +02:00
Tristan B. Velloza Kildaire c56acee33e Grammar
- Fixed `ident` definition
2023-04-19 10:20:44 +02:00
Tristan B. Velloza Kildaire a3b2bc6925 Grammar
- Removed now-completed TODO for literals
- Removed redundant `"0"` for `number`
- Added `float` defined as `(number | {number}), ".", (number | {number});`
- Added `literal` defined as `number | float;`
- Added `module`, `decl` and updated `discard` to have a `";"`
- Added `ptrType` defined as `type, "*";`
- Added `ptrType` to `type`
2023-04-19 10:11:06 +02:00
Tristan B. Velloza Kildaire a8b5966376 - Built pandoc processed markdown 2023-04-19 09:55:36 +02:00
Tristan B. Velloza Kildaire ab196f4d24 Grammar
- Defined `parmList` as `[type, ident] | {(type, ident), ","};`
- Defined `funcdecl` as `type, identifier, "(", parmList, ")", "{", {statement}, "}";`
2023-04-19 09:55:11 +02:00
Tristan B. Velloza Kildaire 3be8fb688e Grammar
- Renamed `parmList` to `exprList`
2023-04-19 09:53:39 +02:00
Tristan B. Velloza Kildaire eb0c7197aa Grammar
- Renamed `decl` to `vdecl`
2023-04-19 09:52:40 +02:00
Tristan B. Velloza Kildaire 045199c1c3 Grammar
- Defined `parmList` as `[expr] | (expr, {",", expr});`
- Updated `funcCall` definition to use `parmList`
2023-04-19 09:51:18 +02:00
Tristan B. Velloza Kildaire dd268f330d Grammar
- Added a TODO
2023-04-19 09:44:18 +02:00
Tristan B. Velloza Kildaire df46092d71 - Disable journal for now 2023-04-18 22:27:59 +02:00
Tristan B. Velloza Kildaire 4b02f6e215 - Updated grammar, added `parens` word 2023-04-18 22:21:44 +02:00
Tristan B. Velloza Kildaire cecc6fa465 - Fixed "July update" image URLs 2023-04-18 20:21:58 +02:00
Tristan B. Velloza Kildaire 6d4567ce27 - Fixed broken links in navbar 2023-04-18 20:19:08 +02:00
Tristan B. Velloza Kildaire 77f52da687 - Fixed images for "July update" journal entry 2023-04-18 20:16:09 +02:00
Tristan B. Velloza Kildaire 5a593c97b2 - Added missing pages to navbar 2023-04-18 20:14:09 +02:00
Tristan B. Velloza Kildaire 0b03fbbffb - Cleaned up site copy over and added recursion to copy files in `journal/`
- Trying to re-enable journal
2023-04-18 20:11:05 +02:00
Tristan B. Velloza Kildaire d8ae3500e6 - Fixed broken link 2023-04-18 19:58:30 +02:00