From 49d9eb19b4180f4255305e1515e851d8ecb8d49e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:10:51 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/gitleaks/gitleaks: v8.16.3 → v8.18.0](https://github.com/gitleaks/gitleaks/compare/v8.16.3...v8.18.0) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 26f100a..9a563d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/gitleaks/gitleaks - rev: v8.16.3 + rev: v8.18.0 hooks: - id: gitleaks - repo: https://github.com/pre-commit/mirrors-clang-format @@ -8,7 +8,7 @@ repos: hooks: - id: clang-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace From 61aea516aa2c33f5b147d5adf48bee537c2585b9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:10:59 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .clangd | 2 +- .devcontainer/devcontainer.json | 54 ++++++++++++++++---------------- .gitignore | 2 +- .vscode/extensions.json | 52 +++++++++++++++--------------- .vscode/settings.json | 38 +++++++++++----------- CODEOWNERS | 2 +- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 2 +- ROADMAP.md | 2 +- docs/README.md | 2 +- docs/design/README.md | 2 +- docs/design/namespaces/README.md | 2 +- docs/design/packages/README.md | 4 +-- docs/error-codes-index/L0001.md | 2 +- docs/error-codes-index/L0002.md | 2 +- docs/error-codes-index/L0003.md | 2 +- docs/error-codes-index/L0004.md | 2 +- docs/error-codes-index/L0005.md | 2 +- docs/error-codes-index/L0006.md | 2 +- docs/error-codes-index/L0007.md | 2 +- docs/error-codes-index/P0001.md | 2 +- docs/error-codes-index/P0002.md | 2 +- docs/error-codes-index/README.md | 2 +- lib/std-exl/std.exl | 2 +- lib/std-llvm-ir/std.ll | 2 +- links.txt | 2 +- programs/complex.exl | 2 +- programs/main.exl | 2 +- programs/test.exl | 2 +- src/parser/tokens.c | 46 +++++++++++++-------------- website/index.html | 2 +- 31 files changed, 123 insertions(+), 123 deletions(-) diff --git a/.clangd b/.clangd index 645e912..a548c0a 100644 --- a/.clangd +++ b/.clangd @@ -1,2 +1,2 @@ CompileFlags: - Add: [-std=c17, -Weverything, -Wno-missing-prototypes, -Wno-empty-translation-unit, -Wno-cast-qual] \ No newline at end of file + Add: [-std=c17, -Weverything, -Wno-missing-prototypes, -Wno-empty-translation-unit, -Wno-cast-qual] diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 83630d4..2cbf496 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,28 +1,28 @@ { - "customizations": { - "vscode": { - "extensions": [ - // Update `../.vscode/extensions.json` as well. - "aaron-bond.better-comments", - "albert.tabout", - "alexanderte.dainty-one-dark-pro-vscode", - "github.copilot", - "gruntfuggly.todo-tree", - "leonardssh.vscord", - "llvm-vs-code-extensions.vscode-clangd", - "ms-vscode.cmake-tools", - "pkief.material-icon-theme", - "rreverser.llvm", - "streetsidesoftware.code-spell-checker", - "streetsidesoftware.code-spell-checker-british-english", - "twxs.cmake", - "vadimcn.vscode-lldb", - "wakatime.vscode-wakatime", - "xaver.clang-format", - "yzhang.markdown-all-in-one" - ] - } - }, - "onCreateCommand": "git submodule update --init --recursive", - "postStartCommand": "sudo apt update && sudo apt install clang-format -y && sudo apt-get -y install ninja-build" -} \ No newline at end of file + "customizations": { + "vscode": { + "extensions": [ + // Update `../.vscode/extensions.json` as well. + "aaron-bond.better-comments", + "albert.tabout", + "alexanderte.dainty-one-dark-pro-vscode", + "github.copilot", + "gruntfuggly.todo-tree", + "leonardssh.vscord", + "llvm-vs-code-extensions.vscode-clangd", + "ms-vscode.cmake-tools", + "pkief.material-icon-theme", + "rreverser.llvm", + "streetsidesoftware.code-spell-checker", + "streetsidesoftware.code-spell-checker-british-english", + "twxs.cmake", + "vadimcn.vscode-lldb", + "wakatime.vscode-wakatime", + "xaver.clang-format", + "yzhang.markdown-all-in-one" + ] + } + }, + "onCreateCommand": "git submodule update --init --recursive", + "postStartCommand": "sudo apt update && sudo apt install clang-format -y && sudo apt-get -y install ninja-build" +} diff --git a/.gitignore b/.gitignore index 8373e96..d83b8a1 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,4 @@ cmake*/ .idea src/main src/main.ilk -src/main.pdb \ No newline at end of file +src/main.pdb diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 16f8ebb..1704acc 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,27 +1,27 @@ { - // Update `../.devcontainer/devcontainer.json` as well. - "recommendations": [ - "aaron-bond.better-comments", - "albert.tabout", - "alexanderte.dainty-one-dark-pro-vscode", - "github.copilot", - "gruntfuggly.todo-tree", - "leonardssh.vscord", - "llvm-vs-code-extensions.vscode-clangd", - "ms-vscode.cmake-tools", - "pkief.material-icon-theme", - "rreverser.llvm", - "streetsidesoftware.code-spell-checker", - "streetsidesoftware.code-spell-checker-british-english", - "twxs.cmake", - "vadimcn.vscode-lldb", - "wakatime.vscode-wakatime", - "xaver.clang-format", - "yzhang.markdown-all-in-one", - ], - "unwantedRecommendations": [ - "ms-vscode.cpptools", - "ms-vscode.cpptools-extension-pack", - "ms-vscode-remote.remote-containers", - ] -} \ No newline at end of file + // Update `../.devcontainer/devcontainer.json` as well. + "recommendations": [ + "aaron-bond.better-comments", + "albert.tabout", + "alexanderte.dainty-one-dark-pro-vscode", + "github.copilot", + "gruntfuggly.todo-tree", + "leonardssh.vscord", + "llvm-vs-code-extensions.vscode-clangd", + "ms-vscode.cmake-tools", + "pkief.material-icon-theme", + "rreverser.llvm", + "streetsidesoftware.code-spell-checker", + "streetsidesoftware.code-spell-checker-british-english", + "twxs.cmake", + "vadimcn.vscode-lldb", + "wakatime.vscode-wakatime", + "xaver.clang-format", + "yzhang.markdown-all-in-one", + ], + "unwantedRecommendations": [ + "ms-vscode.cpptools", + "ms-vscode.cpptools-extension-pack", + "ms-vscode-remote.remote-containers", + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index b337de1..dd67337 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,20 +1,20 @@ { - "[c]": { - "editor.defaultFormatter": "xaver.clang-format" - }, - "cmake.preferredGenerators": [ - "Ninja", - "Visual Studio 17 2022", - ], - "editor.fontFamily": "Fira Code", - "editor.fontLigatures": true, - "editor.fontSize": 13, - "editor.formatOnSave": true, - "editor.suggest.localityBonus": true, - "git.enableCommitSigning": true, - "git.enableSmartCommit": true, - "git.confirmSync": false, - "git.autofetch": true, - "workbench.colorTheme": "Dainty – One Dark Pro (chroma 0, lightness 1)", - "workbench.iconTheme": "material-icon-theme", -} \ No newline at end of file + "[c]": { + "editor.defaultFormatter": "xaver.clang-format" + }, + "cmake.preferredGenerators": [ + "Ninja", + "Visual Studio 17 2022", + ], + "editor.fontFamily": "Fira Code", + "editor.fontLigatures": true, + "editor.fontSize": 13, + "editor.formatOnSave": true, + "editor.suggest.localityBonus": true, + "git.enableCommitSigning": true, + "git.enableSmartCommit": true, + "git.confirmSync": false, + "git.autofetch": true, + "workbench.colorTheme": "Dainty – One Dark Pro (chroma 0, lightness 1)", + "workbench.iconTheme": "material-icon-theme", +} diff --git a/CODEOWNERS b/CODEOWNERS index cecc65e..520b4c5 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -4,4 +4,4 @@ # It uses the same pattern rule for gitignore file # https://git-scm.com/docs/gitignore#_pattern_format -* @skifli \ No newline at end of file +* @skifli diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index e1485fd..e7338fb 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -25,7 +25,7 @@ Exeme's community aims to to be welcoming and friendly. To make sure this doesn' > This is *not* a comprehensive list. Rather, take it in the spirit in which it's intended - a guide to to making communication and participation easier in the community. This code of conduct applies to all spaces managed by the Exeme Project (*not just the Exeme language*). This includes communication systems, forums, emails, issues trackers, and any other spaces the community uses for communication. It applies to all your communication and conduct in these spaces, including things you say, emails, chats, slides, videos, posters, and signs you display in these spaces. - + Our standards for acceptable behavior should be upheld by all community members, regardless of their status. Everyone is encouraged to speak up in response to any behavior they believe is inappropriate, threatening, offensive or harmful. ## Detailed guidance diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 28d177e..c96b457 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,4 +67,4 @@ For example, see the top of [**src/main.c**](https://github.com/exeme-project/ex ### Other Files -Every file type uses a variation of the above license text (*MIT License*) with similar formatting. \ No newline at end of file +Every file type uses a variation of the above license text (*MIT License*) with similar formatting. diff --git a/ROADMAP.md b/ROADMAP.md index 5a3d112..57fa619 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -2,4 +2,4 @@ - [Roadmap](#roadmap) -TODO. \ No newline at end of file +TODO. diff --git a/docs/README.md b/docs/README.md index 280d28b..f44413a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -12,4 +12,4 @@ The design folder contains all documentation related to the design of the Exeme ## [**Error Codes Index**](error-codes-index/README.md) -This file contains a list of all error codes, and their descriptions. Whenever the compiler emits an error, it will also emit the error code. The documentation relating to the error code can be found in this folder, and a further explanation as well as guides on how to fix it can be found here. \ No newline at end of file +This file contains a list of all error codes, and their descriptions. Whenever the compiler emits an error, it will also emit the error code. The documentation relating to the error code can be found in this folder, and a further explanation as well as guides on how to fix it can be found here. diff --git a/docs/design/README.md b/docs/design/README.md index 7c7dc00..7dc8a85 100644 --- a/docs/design/README.md +++ b/docs/design/README.md @@ -46,4 +46,4 @@ fn main() { The *`import`* declaration is used to import packages. The *`import`* declaration is a top-level declaration, and must be the first declaration in a file (after the optional package declaration). In this example it imports the *`io`* subpackage from the *`std`* package. > [!NOTE]\ -> To find out more about packages, see **[`packages/README.md`](packages/README.md)**. \ No newline at end of file +> To find out more about packages, see **[`packages/README.md`](packages/README.md)**. diff --git a/docs/design/namespaces/README.md b/docs/design/namespaces/README.md index ce9ad0d..59056de 100644 --- a/docs/design/namespaces/README.md +++ b/docs/design/namespaces/README.md @@ -81,4 +81,4 @@ fn main() { ## Generic Notes -* Whenever you import a package, the compiler will automatically assign the imported code to a namespace with the same name as the package. \ No newline at end of file +* Whenever you import a package, the compiler will automatically assign the imported code to a namespace with the same name as the package. diff --git a/docs/design/packages/README.md b/docs/design/packages/README.md index 864663d..f42e61f 100644 --- a/docs/design/packages/README.md +++ b/docs/design/packages/README.md @@ -50,7 +50,7 @@ To use a package, use the **`import`** keyword followed by the package identifie > [!IMPORTANT]\ > Use `.` to represent folders in the package identifier. For example, if you have a package called **`github`** with a sub-package called **`auth`**, you would use **`github.auth`** to import the **`auth`** package. -> +> > When you import a package, it automatically is assigned its own namespace. Please note that this is based on the package's name, and is irrespective of whether it is a subpackage. For example, if you import the **`github.auth`** package, it will be assigned the namespace **`auth`**, not **`github_auth`**. > > The standard library takes precedence over user-defined packages. For example if there is a package in a sub-folder of the current folder called **`std`**, it will not be imported if you use **`import "std"`**. @@ -95,4 +95,4 @@ require ( extern fn auth() { ; ... } -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/L0001.md b/docs/error-codes-index/L0001.md index d93da18..3b933ae 100644 --- a/docs/error-codes-index/L0001.md +++ b/docs/error-codes-index/L0001.md @@ -28,4 +28,4 @@ a = ¬ ^ error[L0001]: unknown character ``` -[^1]: Unknown means it is not recognised as the start to a lexer token. \ No newline at end of file +[^1]: Unknown means it is not recognised as the start to a lexer token. diff --git a/docs/error-codes-index/L0002.md b/docs/error-codes-index/L0002.md index cbe1bc0..6c386b4 100644 --- a/docs/error-codes-index/L0002.md +++ b/docs/error-codes-index/L0002.md @@ -26,4 +26,4 @@ a *=* 1 # Known token is *=, but *=* is not a known token. --> main.exl 1 | a *=* 1 ^ error[L0002]: unexpected continuation of token '*=' -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/L0003.md b/docs/error-codes-index/L0003.md index 344bab2..341d524 100644 --- a/docs/error-codes-index/L0003.md +++ b/docs/error-codes-index/L0003.md @@ -27,4 +27,4 @@ b = "b # Unterminated string literal ``` --> main.exl 1 | a = 'a - ^^ error[L0003]: unterminated character literal \ No newline at end of file + ^^ error[L0003]: unterminated character literal diff --git a/docs/error-codes-index/L0004.md b/docs/error-codes-index/L0004.md index 8e691b0..19c09a2 100644 --- a/docs/error-codes-index/L0004.md +++ b/docs/error-codes-index/L0004.md @@ -26,4 +26,4 @@ a = '\a' --> main.exl 1 | a = '\a' ^^ error[L0004]: invalid escape sequence -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/L0005.md b/docs/error-codes-index/L0005.md index c1e2b6b..53ce47f 100644 --- a/docs/error-codes-index/L0005.md +++ b/docs/error-codes-index/L0005.md @@ -26,4 +26,4 @@ a = 'ab' --> main.exl 1 | a = 'ab' ^^ error[L0005]: multi-character char literal -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/L0006.md b/docs/error-codes-index/L0006.md index 4c5dbcb..e40ee5c 100644 --- a/docs/error-codes-index/L0006.md +++ b/docs/error-codes-index/L0006.md @@ -26,4 +26,4 @@ a = 1.a --> main.exl 1 | a = 1.a ^ error[L0006]: invalid character for float -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/L0007.md b/docs/error-codes-index/L0007.md index 867fa2d..2f7be11 100644 --- a/docs/error-codes-index/L0007.md +++ b/docs/error-codes-index/L0007.md @@ -26,4 +26,4 @@ a = 1.1.1 --> main.exl 1 | a = 1.1.1 ^ error[L0007]: too many decimal points for float -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/P0001.md b/docs/error-codes-index/P0001.md index f289f77..93a737c 100644 --- a/docs/error-codes-index/P0001.md +++ b/docs/error-codes-index/P0001.md @@ -28,4 +28,4 @@ a b = 1 ^ error[P0001]: expected 1 parser token before assignment, got 2 ``` -[^1]: n == 0 || n > 1 \ No newline at end of file +[^1]: n == 0 || n > 1 diff --git a/docs/error-codes-index/P0002.md b/docs/error-codes-index/P0002.md index 8fe607f..610f0d6 100644 --- a/docs/error-codes-index/P0002.md +++ b/docs/error-codes-index/P0002.md @@ -26,4 +26,4 @@ The parser expects a parser token of type `{x}` before / after a(n) `{y}` token. --> main.exl 1 | 1 = 1 ^ error[P0002]: expected parser token of type 'identifier' before assignment, got 'integer' -``` \ No newline at end of file +``` diff --git a/docs/error-codes-index/README.md b/docs/error-codes-index/README.md index ed759e2..cf3b0d1 100644 --- a/docs/error-codes-index/README.md +++ b/docs/error-codes-index/README.md @@ -15,4 +15,4 @@ This page lists all the error codes emitted by the Exeme compiler. ## Parser * [P0001](P0001.md) -* [P0002](P0002.md) \ No newline at end of file +* [P0002](P0002.md) diff --git a/lib/std-exl/std.exl b/lib/std-exl/std.exl index a76705e..316de1f 100644 --- a/lib/std-exl/std.exl +++ b/lib/std-exl/std.exl @@ -6,4 +6,4 @@ class str { self._char_buf = NULL; self.length = 0; } -} \ No newline at end of file +} diff --git a/lib/std-llvm-ir/std.ll b/lib/std-llvm-ir/std.ll index 246293d..858bf8f 100644 --- a/lib/std-llvm-ir/std.ll +++ b/lib/std-llvm-ir/std.ll @@ -13,4 +13,4 @@ define void @str_SEP___init__(%str* %self, i8* %string) nounwind { store i64 0, i64* %2 ; store 0 ret void -} \ No newline at end of file +} diff --git a/links.txt b/links.txt index ef30002..824bd19 100644 --- a/links.txt +++ b/links.txt @@ -10,4 +10,4 @@ https://www.pauladamsmith.com/blog/2015/01/how-to-get-started-with-llvm-c-api.ht https://blog.exaloop.io/python-llvm/ -https://github.com/exeme-project/exeme-lang/tree/b5680f31a7558fe7868b08a88fca2e5da1ba82ed/docs \ No newline at end of file +https://github.com/exeme-project/exeme-lang/tree/b5680f31a7558fe7868b08a88fca2e5da1ba82ed/docs diff --git a/programs/complex.exl b/programs/complex.exl index 1442701..356a77c 100644 --- a/programs/complex.exl +++ b/programs/complex.exl @@ -69,4 +69,4 @@ b ;= A multi-line -comment =; \ No newline at end of file +comment =; diff --git a/programs/main.exl b/programs/main.exl index 98717a4..56fa241 100644 --- a/programs/main.exl +++ b/programs/main.exl @@ -15,4 +15,4 @@ func isPrime(n: i32) -> bool { func main() { out(isPrime(100)) -} \ No newline at end of file +} diff --git a/programs/test.exl b/programs/test.exl index 916a729..643661f 100644 --- a/programs/test.exl +++ b/programs/test.exl @@ -1 +1 @@ -func a(a: a) \ No newline at end of file +func a(a: a) diff --git a/src/parser/tokens.c b/src/parser/tokens.c index 8f7ad7a..1ffa3a4 100644 --- a/src/parser/tokens.c +++ b/src/parser/tokens.c @@ -51,145 +51,145 @@ struct AST { struct AST_CHR { const struct LexerToken *_token; const struct String *VALUE; - } * AST_CHR; + } *AST_CHR; /* Represents a string in the AST. */ struct AST_STRING { const struct LexerToken *_token; const struct String *VALUE; - } * AST_STRING; + } *AST_STRING; /* Represents an integer in the AST. */ struct AST_INTEGER { const struct LexerToken *_token; const struct String *VALUE; - } * AST_INTEGER; + } *AST_INTEGER; /* Represents a float in the AST. */ struct AST_FLOAT { const struct LexerToken *_token; const struct String *VALUE; - } * AST_FLOAT; + } *AST_FLOAT; /* Represents a variable in the AST.*/ struct AST_VARIABLE { const bool POINTER; const struct LexerToken *_token; const struct String *NAME; - } * AST_VARIABLE; + } *AST_VARIABLE; /* Represents an assignment in the AST */ struct AST_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_ASSIGNMENT; + } *AST_ASSIGNMENT; /* Represents a modulo assignment in the AST */ struct AST_MODULO_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_MODULO_ASSIGNMENT; + } *AST_MODULO_ASSIGNMENT; /* Represents a multiplication assignment in the AST */ struct AST_MULTIPLICATION_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_MULTIPLICATION_ASSIGNMENT; + } *AST_MULTIPLICATION_ASSIGNMENT; /* Represents an exponent assignment in the AST */ struct AST_EXPONENT_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_EXPONENT_ASSIGNMENT; + } *AST_EXPONENT_ASSIGNMENT; /* Represents a division assignment in the AST */ struct AST_DIVISION_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_DIVISION_ASSIGNMENT; + } *AST_DIVISION_ASSIGNMENT; /* Represents a floor divison assignment in the AST */ struct AST_FLOOR_DIVISION_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_FLOOR_DIVISION_ASSIGNMENT; + } *AST_FLOOR_DIVISION_ASSIGNMENT; /* Represents an addition assignment in the AST */ struct AST_ADDITION_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_ADDITION_ASSIGNMENT; + } *AST_ADDITION_ASSIGNMENT; /* Represents a subtraction assignment in the AST */ struct AST_SUBTRACTION_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_SUBTRACTION_ASSIGNMENT; + } *AST_SUBTRACTION_ASSIGNMENT; /* Represents a bitwise and assignment in the AST */ struct AST_BITWISE_AND_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_BITWISE_AND_ASSIGNMENT; + } *AST_BITWISE_AND_ASSIGNMENT; /* Represents a bitwise or assignment in the AST */ struct AST_BITWISE_OR_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_BITWISE_OR_ASSIGNMENT; + } *AST_BITWISE_OR_ASSIGNMENT; /* Represents a bitwise xor assignment in the AST */ struct AST_BITWISE_XOR_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_BITWISE_XOR_ASSIGNMENT; + } *AST_BITWISE_XOR_ASSIGNMENT; /* Represents a bitwise not assignment in the AST */ struct AST_BITWISE_NOT_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_BITWISE_NOT_ASSIGNMENT; + } *AST_BITWISE_NOT_ASSIGNMENT; /* Represents a bitwise left shift assignment in the AST */ struct AST_BITWISE_LEFT_SHIFT_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_BITWISE_LEFT_SHIFT_ASSIGNMENT; + } *AST_BITWISE_LEFT_SHIFT_ASSIGNMENT; /* Represents a bitwise right shift assignment in the AST */ struct AST_BITWISE_RIGHT_SHIFT_ASSIGNMENT { const struct LexerToken *_token; const struct AST_VARIABLE *IDENTIFIER; const struct AST *VALUE; - } * AST_BITWISE_RIGHT_SHIFT_ASSIGNMENT; + } *AST_BITWISE_RIGHT_SHIFT_ASSIGNMENT; /* Represents an open brace in the AST. */ struct AST_OPEN_BRACE { const struct LexerToken *_token; - } * AST_OPEN_BRACE; + } *AST_OPEN_BRACE; /* Represents a close brace in the AST. */ struct AST_CLOSE_BRACE { const struct LexerToken *_token; - } * AST_CLOSE_BRACE; + } *AST_CLOSE_BRACE; /* Represents a colon in the AST. */ struct AST_COLON { const struct LexerToken *_token; - } * AST_COLON; + } *AST_COLON; /* Represents a function definition in the AST. */ struct AST_FUNCTION_DEFINITION { @@ -199,7 +199,7 @@ struct AST { const struct Array *ARGUMENTS; const struct Array *ARGUMENT_TYPES; const struct AST_CLOSE_BRACE *CLOSE_BRACE; - } * AST_FUNCTION_DEFINITION; + } *AST_FUNCTION_DEFINITION; } data; }; diff --git a/website/index.html b/website/index.html index b1c1f80..d0a4d15 100644 --- a/website/index.html +++ b/website/index.html @@ -12,4 +12,4 @@

- \ No newline at end of file +