huginn  programming language with no quirks, so simple every child can master it.
git clone https://codestation.org/repo/huginn.git
git clone https://github.com/AmokHuginnsson/huginn.git
git clone https://bitbucket.org/huginn/huginn.git

Syntax

Keywords

Types

Builtins

Core library classes

Packages
The real
is a scalar type that is used to represent and operate on floating point numbers. It supports basic operations of addition, subtraction, multiplication, division, modulo, power and comparisons, it can also be used as an argument in functions and algorithms from Mathematics package. The range of possible values it can hold is the same as double long
from C++ programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh exec huginn noargv E "${0}" "${@}" #! huginn main() { x = 2.2; y = 33.3; p = 7.; q = 1.6; print( "x = {}\n".format( x ) ); print( "type of x is {}\n".format( type( x ) ) ); n = x + y; print( "n = {}\n".format( n ) ); print( "type of n is {}\n".format( type( n ) ) ); d = p * q; d += .1; p *= .1; print( "d = {}\n".format( d ) ); print( "type of d is {}\n".format( type( d ) ) ); print( "pi ~~ {}\n".format( x / p ) ); print( "... or pi ~~ {}\n".format( n / d ) ); return ( 0 ); }
Program output:
[amok@vegeta](2/1)~/$ ./real.hgn x = 2.200000000000 type of x is real n = 35.500000000000 type of n is real d = 11.300000000000 type of d is real pi ~~ 3.142857142857 ... or pi ~~ 3.141592920354 [amok@vegeta](2/1)~/$