Commit Graph

281 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire d978f89bd8 - Fixed up graph paths 2023-04-18 18:44:30 +02:00
Tristan B. Velloza Kildaire ad06ddb0c2 - Attempt to fix graph display 2023-04-18 18:40:04 +02:00
Tristan B. Velloza Kildaire ae2ec60cdd - Disabled `site_url` again 2023-04-18 18:34:14 +02:00
Tristan B. Velloza Kildaire f74a27613c - DIsabled blogging plugin 2023-04-18 18:32:36 +02:00
Tristan B. Velloza Kildaire 919a81c265 - Specify site URL 2023-04-18 18:23:45 +02:00
Tristan B. Velloza Kildaire 764fbf080f - Update `.gitignore` 2023-04-18 17:44:26 +02:00
Tristan B. Velloza Kildaire 4542bfd58e - Updated `.gitignore`
- Added `.svg` plots
2023-04-18 17:43:35 +02:00
Tristan B. Velloza Kildaire d27ea3530d - Added `pandoc-plot` configuration files 2023-04-18 17:41:26 +02:00
Tristan B. Velloza Kildaire 1d1ca152a3 - Moved source docs to `docs_src/` and docs outputted by pandoc (and to be later processed by mkdocs) to `docs/` 2023-04-18 17:40:26 +02:00
Tristan B. Velloza Kildaire e5ef522ce0 - Use a nice bootstrap theme
- Disable `site_url`
2023-04-18 17:39:25 +02:00
Tristan B. Velloza Kildaire fdd0bd38be - New scripts all require pre-processing pandoc firstly 2023-04-18 17:39:10 +02:00
Tristan B. Velloza Kildaire 4c7aa516a6 Grammar
- Removed original TODO for Wilhelm
- Split grammar into sections
- Added a mostly complete "Literals" section with grammar
- Removed simple definitions for things lime `{`, `(` and so on
- Made a new section called "Statements", added definition for a while loop and variable declarations
- Added expression section
2023-04-18 09:23:41 +02:00
Tristan B. Velloza Kildaire d7a7060578 Pointers
- Removed now-completed TODO
2023-04-17 22:37:02 +02:00
Tristan B. Velloza Kildaire cee8f96a9d - Updated `.gitignore` 2023-04-17 15:56:57 +02:00
Tristan B. Velloza Kildaire 60fdd391a1 Arrays
- Removed "Mixing and matching" section

Pointers

- Added "Mixing and matching" section previosuly in the Arrays chapter
2023-04-17 15:55:24 +02:00
Tristan B. Velloza Kildaire 8b8b0308fd Pointers
- Spaced out
2023-04-17 15:53:55 +02:00
Tristan B. Velloza Kildaire bc65937306 Arrays
- Removed section on "Pointer arrays", it is mentioned in the following chapter on "Pointers" in any case (or will be)
- Described the coercion a little more and how/when it can take place
- Mention the mixed array example should be moved to pointer section
2023-04-17 15:53:48 +02:00
Tristan B. Velloza Kildaire 4c4080961d - Added note to self
- Re-organized the `pandoc` command calls in `generateBook()`
2023-04-17 15:30:12 +02:00
Tristan B. Velloza Kildaire 26b643502d Introduction
- Added a photo to the introduction setion
2023-04-16 18:46:40 +02:00
Tristan B. Velloza Kildaire 300bf691b2 - Removed `book.pdf` 2023-04-16 16:48:55 +02:00
Tristan B. Velloza Kildaire 0c0023ea04 - Update .gitignore 2023-04-16 16:48:18 +02:00
Tristan B. Velloza Kildaire 94f6ee85fc Pointer
- Split up the code in the "pointer arithmetic" section to explain it all
2023-04-16 15:42:14 +02:00
Tristan B. Velloza Kildaire 1fb2fb015e Pointers
- Added a table explaining how arithmetic operators `+` and `-` can be used on pointers
2023-04-16 15:20:43 +02:00
Tristan B. Velloza Kildaire 1788b697e7 Pointers
- Moved casting code to "Casting" subsection
2023-04-15 22:09:48 +02:00
Tristan B. Velloza Kildaire 4ffef9f29f Arrays
- Added reference to the "Pointers" chapter in the "Pointer array" section
- Added section on "Coercion"

Pointers

- Added section on pointer syntax, the operators and usage
- Added a documented code example using the `&` and `*` operators
- Removed old code description
2023-04-15 22:04:28 +02:00
Tristan B. Velloza Kildaire c074001a39 Arrays
- Removed "Usage" sub-title
2023-04-15 13:54:14 +02:00
Tristan B. Velloza Kildaire 36972e3b71 Arrays
- Added fully-tested and extensive section on the topic of stack-based arrays
2023-04-15 13:48:07 +02:00
Tristan B. Velloza Kildaire 148c3cb5b8 Arrays
- Added a sub-title to the section describing the mixing of stack and pointer arrays
2023-04-14 22:11:02 +02:00
Tristan B. Velloza Kildaire bffa22201e Arrays
- Added another code snippet showing a stack array of integer arrays/pointers
2023-04-14 22:10:17 +02:00
Tristan B. Velloza Kildaire bdf9cb4d2b Arrays
- Typo fix
2023-04-14 21:56:15 +02:00
Tristan B. Velloza Kildaire 76ceee6abd Arrays
- Added new page
- Shifted all other pages
2023-04-14 21:55:00 +02:00
Tristan B. Velloza Kildaire b8c5593428 Pointers
- Removed text highlight
- Fixed the code blocks to work in pandoc as well
2023-04-14 19:36:14 +02:00
Tristan B. Velloza Kildaire 749a95575d Pointers
- Update examples of pointer code
- New introduction
2023-04-14 19:19:23 +02:00
Tristan B. Velloza Kildaire f490d86e9a Code queue
- Made code example centered and disabled line numberings for this example (added spaces too)
2023-02-07 17:52:23 +02:00
Tristan B. Velloza Kildaire e622fac4d7 Graphs
- Updated graph to correct title
2023-02-07 17:21:08 +02:00
Tristan B. Velloza Kildaire 50f49b956b Code generation
- Added a section on the cde queue along with an example and accompanying diagram

- Added a
2023-02-07 17:20:30 +02:00
Tristan B. Velloza Kildaire 115efbcdd8 Typechecking and code generation
- Added an introduction to the `Instructions`  subsection
2023-02-05 16:51:53 +02:00
Tristan B. Velloza Kildaire 8071159477 TYpeChecking/CodeGen
- Added description of the `Value` instruction and some API calls
2023-02-01 23:39:14 +02:00
Tristan B. Velloza Kildaire e8f9822f9c TypeChecking/CodeGen
- Added information on `string produceToStrEnclose(string addInfo)` method as part of the `Instruction` API
2023-02-01 18:40:27 +02:00
Tristan B. Velloza Kildaire 83e732edd6 Typechecking/Codegen
- Added information on the base methods of the `Instruction` class
2023-02-01 17:17:54 +02:00
Tristan B. Velloza Kildaire fbdd7b2101 Extern
- Moved C code to introduction section
- Added instructions on how to generate an object file to be used for linking in for a C program using gcc
- Added the command-line arguments to use to accomplish linking in with tlang
2023-01-28 18:09:48 +02:00
Tristan B. Velloza Kildaire 882982cfc6 Extern
- Updated example for extern
2023-01-28 18:04:50 +02:00
Tristan B. Velloza Kildaire 0d310e70af Compiler configuration sub-system
- Put example usages into their own headings
2023-01-28 17:27:44 +02:00
Tristan B. Velloza Kildaire d3680fb7d1 Compiler configuration sub-system
- Updated the API for `CompilerConfiguration`
- Gave the `CompilerConfiguration` its own heading
- Added API usage of the `ConfigEntry` API along with code examples
- Removed now-completed TODOs
2023-01-28 17:26:32 +02:00
Tristan B. Velloza Kildaire a83c718089 Configuration sub-system
- Added initial API documentation and description
2023-01-24 17:09:44 +02:00
Tristan B. Velloza Kildaire ae445f637a Graohs
- Fixed mislabeled node
2023-01-22 19:05:35 +02:00
Tristan B. Velloza Kildaire 43161edb9b Build system
- `helpers.sh` now builds seperate `.dot` graphs and `.circoe` graphs dependant on the file extension of th graphviz file

Dependency

- Updated graph URLs

Compiler

- Added graph of compilation stages
2023-01-22 19:04:35 +02:00
Tristan B. Velloza Kildaire 5b7961e6fe Compiler
- Added new section on the `Compiler` object
2023-01-22 18:03:11 +02:00
Tristan B. Velloza Kildaire c9835c0c5c Dependency
- Re-organized paragraphs for pooling section
2023-01-22 14:22:13 +02:00
Tristan B. Velloza Kildaire d70088a828 Dependency
- Updated graph sizes to `400` each
2023-01-22 14:19:38 +02:00