Repository navigation
π± dotnet-lolcode v0.2.0
LOLCODE 1.2 compiler for .NET 10 β now with polished NuGet package documentation!
What's New in v0.2.0
π NuGet Package READMEs
All three published NuGet packages now include rich README documentation that shows up directly on nuget.org:
- Lolcode.NET.Sdk β Quick start guide, project-based and file-based app setup, full language feature showcase
- Lolcode.NET.Templates β Installation instructions,
dotnet newusage, copy-paste LOLCODE snippets (FizzBuzz, recursion, I/O, switch statements) - Lolcode.Runtime β Explains what the runtime provides and how it's auto-referenced
Getting Started
File-Based Apps (Zero Config!)
dotnet new tool-manifest
dotnet tool install Lolcode.NET.Sdk --version 0.2.0Create hello.lol:
#:sdk Lolcode.NET.Sdk/0.2.0
HAI 1.2
VISIBLE "HAI WORLD!"
KTHXBYE
Run it:
dotnet hello.lolProject-Based Apps
dotnet new install Lolcode.NET.Templates::0.2.0
dotnet new lolcode -n MyApp
cd MyApp
dotnet runFull Feature Set
- β Complete LOLCODE 1.2 language support
- β
Compiles to .NET 10 IL assemblies via
PersistedAssemblyBuilder - β
MSBuild SDK integration (
dotnet build/dotnet run) - β
File-based apps with
#:sdkdirective - β
dotnet new lolcodeproject template - β 7 data types: NOOB, TROOF, NUMBR, NUMBAR, YARN, FUNKSHUN, TYPE
- β Variables, math, string ops, comparison, boolean logic
- β Control flow: IF/ELSE, SWITCH, 4 loop types
- β Functions with parameters, recursion, and closures
- β Type casting (explicit + implicit)
- β String interpolation and escape sequences
- β
Runtime error handling with
LolRuntimeException - β 289 tests (143 unit + 146 end-to-end)
- β Cross-platform: Windows, macOS, Linux
Install
dotnet add package Lolcode.NET.Sdk --version 0.2.0
# or for the template:
dotnet new install Lolcode.NET.Templates::0.2.0Full Changelog: v0.1.0...v0.2.0