Skip to content

jingle-lang/jingle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Jingle Logo

Jingle Lang 2021.2

Status GitHub Issues GitHub Pull Requests


Jingle is a dynamically-typed, multi-paradigm programming language designed for humans and machines.

πŸ“ Table of Contents

πŸ“œ About

Jingle is a dynamically-typed programming language currently in development. Code in Jingle is fast to run and compile while still retaining small source files and binaries. Based off the Crafting Interpreters book with a new syntax and expanded standard library. More base language features are coming soon.

Here is an example that calculates the Fibonacci numbers and times it to give you a quick look at the language:

fn fib(n):
  if (n < 2) return n;
  return fib(n - 2) + fib(n - 1);
end

var start = timer();
echo "How many iterations?";
var iter = num(gets());
echo "fib(" + str(iter) + ") = " + str(fib(iter));
echo "Time taken " + str(round(timer() - start, 2)) + "s";

Getting Started

Tested in Visual Studio 2019 on Windows. Publish build to local folder and run from commandline: jingle <filename>