ghul.compiler
0.5.8
Prefix Reserved
See the version list below for details.
dotnet tool install --global ghul.compiler --version 0.5.8
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local ghul.compiler --version 0.5.8
#tool dotnet:?package=ghul.compiler&version=0.5.8
nuke :add-package ghul.compiler --version 0.5.8
ghūl compiler
This package contains the ghūl programming language compiler packaged as a .NET tool
Prerequisites
The compiler requires the .NET 6.0 SDK
Target
The compiler produces standard .NET assemblies and packages targeting .NET 6.0
Getting the compiler
There are a few different ways to get the compiler - you might not need to use this package directly.
Use a ghūl .NET project template
If you initialize your project using one of the ghūl .NET project templates, the template will add the compiler to your project folder as a local .NET tool - just run dotnet tool restore
to restore it.
Clone the ghūl GitHub repository template
If you create a new GitHub repo from the ghūl repository template, then the compiler will be pre-configured as a local .NET tool in your project folder - run dotnet tool restore
to restore it.
Use the ghūl development container image
The compiler is pre-installed globally in the ghūl development container
Install the compiler as a local or global .NET tool
If none of the above options suits, you can manually install the compiler from this package - see below for details.
Using the compiler
Project file
The compiler expects to be driven by MSBuild using a .ghulproj
project file.
See the ghūl targets package for
a minimal example, or use one of the project templates to get started.
Source files
You'll need some ghūl source files. By convention ghūl source files have the extension .ghul
, and the standard MSBuild targets will include **/*.ghul
when building.
Building and running
Once you have a project file and some ghūl source files, you can use the normal .NET SDK commands to build, pack, and run your project:
dotnet build
dotnet pack
dotnet run
Runtime dependencies for ghūl applications
Applications written in ghūl require the .NET 6.0 runtime
Development environment
Visual Studio Code will give you rich language support via the ghūl VSCode language extension.
Manual compiler install
Local tool install
To install the compiler locally in your project folder:
dotnet new tool-manifest # if you don't already have a tool manifest file
dotnet tool install ghul.compiler # install the latest release of the compiler locally
dotnet ghul-compiler # run the compiler
A local tool install means you get a predictable compiler version on every build, provided you check in the tool manifest. It also means you can easily use different versions of the compiler for different projects on the same machine.
Global tool install
To install the compiler globally for the current user:
dotnet tool install --global ghul.compiler # install the latest release of the compiler globally
ghul-compiler # run the compiler
Gotchas
The ghūl language is sufficiently expressive and the compiler is stable enough for the compiler itself to be written in ghūl. However, this is an incomplete compiler for an experimental programming language: there will be compiler bugs!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.8.48 | 118 | 5/30/2024 |
0.8.47 | 123 | 5/19/2024 |
0.8.46 | 92 | 5/19/2024 |
0.8.45 | 136 | 4/17/2024 |
0.8.44 | 145 | 4/17/2024 |
0.8.43 | 160 | 4/15/2024 |
0.8.42 | 168 | 4/15/2024 |
0.8.41 | 148 | 4/13/2024 |
0.8.40 | 175 | 4/12/2024 |
0.8.39 | 183 | 4/11/2024 |
0.8.38 | 124 | 4/10/2024 |
0.8.37 | 172 | 4/10/2024 |
0.8.36 | 204 | 4/3/2024 |
0.8.35 | 188 | 4/1/2024 |
0.8.34 | 229 | 3/31/2024 |
0.8.33 | 300 | 3/31/2024 |
0.8.32 | 247 | 3/31/2024 |
0.8.31 | 235 | 3/30/2024 |
0.8.30 | 232 | 3/30/2024 |
0.8.29 | 229 | 3/30/2024 |
0.8.28 | 194 | 3/29/2024 |
0.8.27 | 278 | 3/26/2024 |
0.8.26 | 253 | 3/21/2024 |
0.8.25 | 287 | 3/19/2024 |
0.8.24 | 393 | 3/19/2024 |
0.8.23 | 257 | 3/18/2024 |
0.8.22 | 309 | 3/15/2024 |
0.8.21 | 240 | 3/14/2024 |
0.8.20 | 355 | 3/13/2024 |
0.8.19 | 381 | 3/13/2024 |
0.8.18 | 325 | 3/13/2024 |
0.8.17 | 377 | 3/12/2024 |
0.8.16 | 290 | 3/11/2024 |
0.8.15 | 318 | 3/11/2024 |
0.8.14 | 357 | 3/11/2024 |
0.8.13 | 379 | 3/10/2024 |
0.8.12 | 321 | 3/10/2024 |
0.8.11 | 239 | 3/4/2024 |
0.8.10 | 405 | 3/4/2024 |
0.8.9 | 416 | 3/2/2024 |
0.8.8 | 356 | 3/2/2024 |
0.8.7 | 383 | 3/2/2024 |
0.8.6 | 345 | 3/1/2024 |
0.8.5 | 437 | 3/1/2024 |
0.8.4 | 356 | 2/29/2024 |
0.8.3 | 449 | 2/27/2024 |
0.8.2 | 397 | 2/26/2024 |
0.8.1 | 362 | 2/21/2024 |
0.8.0 | 410 | 2/21/2024 |
0.7.13 | 399 | 2/21/2024 |
0.7.12 | 510 | 2/21/2024 |
0.7.11 | 365 | 2/20/2024 |
0.7.10 | 356 | 2/20/2024 |
0.7.9 | 541 | 2/19/2024 |
0.7.8 | 502 | 2/17/2024 |
0.7.7 | 355 | 2/16/2024 |
0.7.6 | 324 | 2/15/2024 |
0.7.5 | 460 | 2/14/2024 |
0.7.4 | 603 | 2/13/2024 |
0.7.3 | 553 | 2/13/2024 |
0.7.2 | 477 | 2/9/2024 |
0.7.1 | 384 | 2/8/2024 |
0.7.0 | 495 | 2/7/2024 |
0.6.21 | 502 | 2/7/2024 |
0.6.20 | 438 | 2/6/2024 |
0.6.19 | 623 | 2/6/2024 |
0.6.18 | 471 | 2/6/2024 |
0.6.17 | 558 | 2/6/2024 |
0.6.16 | 460 | 2/4/2024 |
0.6.15 | 488 | 2/2/2024 |
0.6.14 | 535 | 2/1/2024 |
0.6.13 | 664 | 1/29/2024 |
0.6.12 | 566 | 1/29/2024 |
0.6.11 | 558 | 1/29/2024 |
0.6.10 | 397 | 1/29/2024 |
0.6.9 | 443 | 1/26/2024 |
0.6.8 | 376 | 1/25/2024 |
0.6.7 | 545 | 1/23/2024 |
0.6.6 | 426 | 1/22/2024 |
0.6.5 | 512 | 1/19/2024 |
0.6.4 | 469 | 1/19/2024 |
0.6.3 | 474 | 1/16/2024 |
0.6.2 | 812 | 12/6/2023 |
0.6.1 | 925 | 12/6/2023 |
0.6.0 | 797 | 12/6/2023 |
0.5.31 | 1,171 | 3/15/2023 |
0.5.30 | 1,081 | 3/14/2023 |
0.5.28 | 1,037 | 3/14/2023 |
0.5.27 | 1,036 | 3/14/2023 |
0.5.26 | 951 | 3/14/2023 |
0.5.25 | 965 | 3/14/2023 |
0.5.24 | 1,094 | 3/14/2023 |
0.5.23 | 1,080 | 3/14/2023 |
0.5.21 | 1,091 | 3/10/2023 |
0.5.19 | 976 | 3/10/2023 |
0.5.17 | 1,204 | 3/10/2023 |
0.5.15 | 1,390 | 3/7/2022 |
0.5.14 | 1,314 | 2/27/2022 |
0.5.13 | 1,022 | 2/27/2022 |
0.5.12 | 1,278 | 2/27/2022 |
0.5.11 | 1,193 | 2/13/2022 |
0.5.10 | 978 | 1/12/2022 |
0.5.9 | 1,104 | 1/5/2022 |
0.5.8 | 874 | 1/5/2022 |
0.5.7 | 949 | 1/4/2022 |
0.5.6 | 900 | 1/3/2022 |
0.5.5 | 1,152 | 1/3/2022 |
0.5.4 | 1,092 | 1/3/2022 |
0.5.3 | 1,085 | 1/3/2022 |
0.5.2 | 1,119 | 12/31/2021 |
0.5.1 | 1,001 | 12/31/2021 |
0.5.0 | 942 | 12/29/2021 |
0.4.1 | 1,086 | 12/26/2021 |
0.4.0 | 1,038 | 12/26/2021 |
0.3.4 | 1,211 | 12/22/2021 |
0.3.3 | 1,119 | 12/21/2021 |
0.3.2 | 1,150 | 12/21/2021 |
0.2.166 | 1,021 | 12/21/2021 |
0.2.165 | 1,056 | 12/21/2021 |
0.2.164 | 1,018 | 12/20/2021 |
0.2.163 | 1,011 | 12/18/2021 |
0.2.161 | 1,037 | 12/17/2021 |
0.2.160 | 909 | 12/17/2021 |
0.2.159 | 1,013 | 12/17/2021 |
0.2.158 | 1,006 | 12/15/2021 |
0.2.157 | 932 | 12/14/2021 |
0.2.154 | 1,341 | 12/8/2021 |
0.2.153 | 1,146 | 12/7/2021 |
0.2.152 | 1,031 | 12/6/2021 |
0.2.151 | 1,014 | 12/6/2021 |
0.2.150 | 1,276 | 12/6/2021 |
0.2.149 | 1,337 | 12/6/2021 |
0.2.148 | 1,098 | 12/5/2021 |
0.2.147 | 1,058 | 12/5/2021 |
0.2.146 | 1,011 | 12/5/2021 |
0.2.145 | 715 | 12/5/2021 |
0.2.144 | 1,002 | 12/5/2021 |
0.2.143 | 915 | 12/5/2021 |
0.2.142 | 1,069 | 12/5/2021 |
0.2.141 | 1,515 | 12/4/2021 |
0.2.140 | 1,074 | 12/4/2021 |
0.2.139 | 1,080 | 12/1/2021 |
0.2.137 | 970 | 11/18/2021 |
0.2.136 | 1,125 | 10/27/2021 |
0.2.135 | 997 | 10/27/2021 |
0.2.135-alpha.1 | 196 | 10/27/2021 |
0.2.134 | 1,107 | 2/7/2021 |
0.2.133 | 1,105 | 2/3/2021 |
0.2.132 | 1,205 | 1/31/2021 |
0.2.131 | 1,046 | 1/30/2021 |
0.2.130 | 1,118 | 1/30/2021 |
0.2.129 | 1,212 | 1/28/2021 |
0.2.128 | 1,200 | 1/27/2021 |
0.2.127 | 1,171 | 1/27/2021 |
0.2.126 | 923 | 1/25/2021 |
0.2.125 | 1,239 | 1/24/2021 |
0.2.124 | 1,148 | 1/23/2021 |
0.2.123 | 1,130 | 1/23/2021 |
0.2.122 | 1,305 | 1/21/2021 |
0.2.121 | 1,235 | 1/20/2021 |
0.2.120 | 1,217 | 1/20/2021 |
0.2.119 | 1,233 | 1/20/2021 |
0.2.118 | 1,322 | 1/20/2021 |
0.2.117 | 1,231 | 1/19/2021 |
0.2.116 | 1,182 | 1/17/2021 |
0.2.115 | 1,564 | 1/16/2021 |
0.2.114 | 1,371 | 1/15/2021 |
0.2.113 | 1,167 | 1/14/2021 |
0.2.112 | 1,324 | 1/13/2021 |
0.2.111 | 1,388 | 1/10/2021 |
0.2.110 | 1,424 | 1/9/2021 |
0.2.109 | 1,116 | 1/8/2021 |
0.2.108 | 1,207 | 1/8/2021 |
0.2.107 | 1,342 | 1/7/2021 |
0.2.106 | 1,397 | 1/6/2021 |
0.2.105 | 1,348 | 1/3/2021 |
0.2.104 | 1,437 | 1/2/2021 |