ghul.compiler 0.8.48

Prefix Reserved
dotnet tool install --global ghul.compiler --version 0.8.48                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local ghul.compiler --version 0.8.48                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ghul.compiler&version=0.8.48                
nuke :add-package ghul.compiler --version 0.8.48                

ghūl compiler

CI/CD NuGet version (ghul.targets) Release Release Date Issues License ghūl

This package contains the ghūl programming language compiler packaged as a .NET tool

ghūl logo icon small

Prerequisites

The compiler requires the .NET 8.0 SDK

Target

The compiler produces standard .NET assemblies and packages targeting .NET 8.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 test package for a real-world 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 8.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 Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.8.48 113 5/30/2024
0.8.47 118 5/19/2024
0.8.46 89 5/19/2024
0.8.45 133 4/17/2024
0.8.44 143 4/17/2024
0.8.43 157 4/15/2024
0.8.42 165 4/15/2024
0.8.41 145 4/13/2024
0.8.40 172 4/12/2024
0.8.39 180 4/11/2024
0.8.38 122 4/10/2024
0.8.37 170 4/10/2024
0.8.36 202 4/3/2024
0.8.35 187 4/1/2024
0.8.34 227 3/31/2024
0.8.33 298 3/31/2024
0.8.32 245 3/31/2024
0.8.31 233 3/30/2024
0.8.30 228 3/30/2024
0.8.29 227 3/30/2024
0.8.28 190 3/29/2024
0.8.27 274 3/26/2024
0.8.26 249 3/21/2024
0.8.25 285 3/19/2024
0.8.24 391 3/19/2024
0.8.23 255 3/18/2024
0.8.22 308 3/15/2024
0.8.21 238 3/14/2024
0.8.20 353 3/13/2024
0.8.19 379 3/13/2024
0.8.18 323 3/13/2024
0.8.17 376 3/12/2024
0.8.16 288 3/11/2024
0.8.15 317 3/11/2024
0.8.14 355 3/11/2024
0.8.13 375 3/10/2024
0.8.12 317 3/10/2024
0.8.11 237 3/4/2024
0.8.10 403 3/4/2024
0.8.9 414 3/2/2024
0.8.8 354 3/2/2024
0.8.7 381 3/2/2024
0.8.6 341 3/1/2024
0.8.5 433 3/1/2024
0.8.4 352 2/29/2024
0.8.3 447 2/27/2024
0.8.2 395 2/26/2024
0.8.1 360 2/21/2024
0.8.0 395 2/21/2024
0.7.13 397 2/21/2024
0.7.12 508 2/21/2024
0.7.11 363 2/20/2024
0.7.10 354 2/20/2024
0.7.9 539 2/19/2024
0.7.8 499 2/17/2024
0.7.7 353 2/16/2024
0.7.6 323 2/15/2024
0.7.5 458 2/14/2024
0.7.4 601 2/13/2024
0.7.3 552 2/13/2024
0.7.2 475 2/9/2024
0.7.1 382 2/8/2024
0.7.0 490 2/7/2024
0.6.21 496 2/7/2024
0.6.20 436 2/6/2024
0.6.19 619 2/6/2024
0.6.18 469 2/6/2024
0.6.17 556 2/6/2024
0.6.16 459 2/4/2024
0.6.15 486 2/2/2024
0.6.14 533 2/1/2024
0.6.13 662 1/29/2024
0.6.12 564 1/29/2024
0.6.11 556 1/29/2024
0.6.10 395 1/29/2024
0.6.9 442 1/26/2024
0.6.8 372 1/25/2024
0.6.7 543 1/23/2024
0.6.6 424 1/22/2024
0.6.5 509 1/19/2024
0.6.4 467 1/19/2024
0.6.3 473 1/16/2024
0.6.2 808 12/6/2023
0.6.1 921 12/6/2023
0.6.0 795 12/6/2023
0.5.31 1,169 3/15/2023
0.5.30 1,077 3/14/2023
0.5.28 1,036 3/14/2023
0.5.27 1,035 3/14/2023
0.5.26 950 3/14/2023
0.5.25 964 3/14/2023
0.5.24 1,093 3/14/2023
0.5.23 1,076 3/14/2023
0.5.21 1,089 3/10/2023
0.5.19 974 3/10/2023
0.5.17 1,200 3/10/2023
0.5.15 1,388 3/7/2022
0.5.14 1,312 2/27/2022
0.5.13 1,020 2/27/2022
0.5.12 1,276 2/27/2022
0.5.11 1,192 2/13/2022
0.5.10 977 1/12/2022
0.5.9 1,102 1/5/2022
0.5.8 872 1/5/2022
0.5.7 947 1/4/2022
0.5.6 899 1/3/2022
0.5.5 1,151 1/3/2022
0.5.4 1,085 1/3/2022
0.5.3 1,083 1/3/2022
0.5.2 1,117 12/31/2021
0.5.1 1,000 12/31/2021
0.5.0 940 12/29/2021
0.4.1 1,085 12/26/2021
0.4.0 1,037 12/26/2021
0.3.4 1,210 12/22/2021
0.3.3 1,118 12/21/2021
0.3.2 1,149 12/21/2021
0.2.166 1,019 12/21/2021
0.2.165 1,054 12/21/2021
0.2.164 1,016 12/20/2021
0.2.163 1,010 12/18/2021
0.2.161 1,036 12/17/2021
0.2.160 908 12/17/2021
0.2.159 1,011 12/17/2021
0.2.158 1,005 12/15/2021
0.2.157 930 12/14/2021
0.2.154 1,339 12/8/2021
0.2.153 1,145 12/7/2021
0.2.152 1,029 12/6/2021
0.2.151 1,012 12/6/2021
0.2.150 1,275 12/6/2021
0.2.149 1,334 12/6/2021
0.2.148 1,097 12/5/2021
0.2.147 1,054 12/5/2021
0.2.146 1,009 12/5/2021
0.2.145 713 12/5/2021
0.2.144 1,000 12/5/2021
0.2.143 913 12/5/2021
0.2.142 1,067 12/5/2021
0.2.141 1,513 12/4/2021
0.2.140 1,070 12/4/2021
0.2.139 1,078 12/1/2021
0.2.137 968 11/18/2021
0.2.136 1,105 10/27/2021
0.2.135 995 10/27/2021
0.2.135-alpha.1 194 10/27/2021
0.2.134 1,088 2/7/2021
0.2.133 1,103 2/3/2021
0.2.132 1,204 1/31/2021
0.2.131 1,045 1/30/2021
0.2.130 1,114 1/30/2021
0.2.129 1,210 1/28/2021
0.2.128 1,196 1/27/2021
0.2.127 1,170 1/27/2021
0.2.126 922 1/25/2021
0.2.125 1,238 1/24/2021
0.2.124 1,147 1/23/2021
0.2.123 1,129 1/23/2021
0.2.122 1,304 1/21/2021
0.2.121 1,233 1/20/2021
0.2.120 1,216 1/20/2021
0.2.119 1,231 1/20/2021
0.2.118 1,318 1/20/2021
0.2.117 1,229 1/19/2021
0.2.116 1,180 1/17/2021
0.2.115 1,563 1/16/2021
0.2.114 1,370 1/15/2021
0.2.113 1,165 1/14/2021
0.2.112 1,322 1/13/2021
0.2.111 1,386 1/10/2021
0.2.110 1,422 1/9/2021
0.2.109 1,113 1/8/2021
0.2.108 1,205 1/8/2021
0.2.107 1,341 1/7/2021
0.2.106 1,395 1/6/2021
0.2.105 1,346 1/3/2021
0.2.104 1,435 1/2/2021