freshcrate
Home > Uncategorized > Jargon

Jargon

Jargon is a self-hosting compiled programming language that targets LLVM IR and produces native executables on Windows.

Description

Jargon is a self-hosting compiled programming language that targets LLVM IR and produces native executables on Windows.

README

Jargon

License Windows LLVM Self-Hosting Status StarsJargon is a self-hosting compiled programming language that targets LLVM IR and produces native executables on Windows. The compiler (jlc1) is written in Jargon itself, making it a bootstrapping compiler.

  • Self-hosting — the compiler is written in Jargon and can compile itself
  • LLVM backend — emits LLVM IR (.ll files) and uses clang-cl for final linking
  • C-like syntax — familiar syntax with classes, templates, enums, and more
  • Automatic Reference Counting — automatic memory management via reference-counted objects
  • Debug support — generates debug information compatible with standard debuggers (-g flag)
  • Interop with C — direct declaration of external C functions

Project Structure

  • JargonLib - Jargon Compiler library implemented in C#
  • jlc0 - Jargon Compiler implemented in C#
  • Jargon - Jargon Runtime implemented in Jargon
  • jlc1 - Jargon Compiler implemented in Jargon, compiled with jlc0
  • jlc2 - Jargon Compiler implemented in Jargon, compiled with jlc1, to check for no degradation
  • Test - Test project
  • ComTest - Exampe of using COM
  • WinApp - Example of minimal Windows application

Usage

Options

Flag Description
-g Generate debug information
-k Keep intermediate files
-o <file> Specify output file name
-O<level> Optimization level (O0, O1, O2, Os, Ofast, Od, Ot, Ox)
-I<dir> Add directory to library search path
-l<library> Link with specified library
-V Verbose output
-h, --help Show help

Example

jlc1 -g Main.jr -o Test.exe

Prerequisites

  • Windows 10 or Windows 11
  • Visual Studio 2022 or 2026
  • LLVM / Clang toolchain (clang-cl must be available) Download

Building

  1. Create a JARGON_LIB system variable pointing to your binary folder. i.e JARGON_LIB=C:\Jargon\x64\Debug
  2. Open the solution in Visual Studio 2022/2026.
  3. Build the Test project to perform a build of all projects in the solution in the correct order.

License

This project is available under the MIT License.

Release History

VersionChangesUrgencyDate
master@2026-04-19Latest activity on master branchHigh4/19/2026
0.0.0No release found — using repo HEADHigh4/11/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

almideA functional programming language optimized for LLM code generation. Compiles to Rust and WebAssembly.v0.15.0
slot-jsx-pragma🎰 Enable declarative slottable components with a custom JSX pragma for seamless React integration and enhanced performance.main@2026-04-21
local-ai-devenv🤖 Automate coding, testing, and deployment with a local AI environment powered by a team of intelligent agents.main@2026-04-21
ai-dataset-generator🤖 Generate tailored AI training datasets quickly and easily, transforming your domain knowledge into essential training data for model fine-tuning.main@2026-04-21
dopEffectCSharp🚀 Maximize your C# productivity with advanced techniques in strings, LINQ, and clean code, inspired by the book "Produtivo com C#."master@2026-04-21