-login:
user: password:
āŠŸsettings:
huginn - programming language with no quirks, so simple every child can master it.
Fork me on GitHub
git clone https://codestation.org/repo/huginn.git
git clone https://github.com/AmokHuginnsson/huginn.git
git clone https://bitbucket.org/huginn/huginn.git

assert statement:

Editor (vim) - assert.hgn (Try it online!) [+line no]
1 2 3 4 5 6 7 8 9
#! /bin/sh
exec huginn -E "${0}" "${@}"
#! huginn

main( argv_ ) {
	assert ( size( argv_ ) > 1, "missing argument" );
	assert ( integer( argv_[1] ) == 42, "not life, universe and everything else" );
	return ( 0 );
}

Program output:

Terminal - shell session [–line no]
[amok@vegeta](2/1)~/$ ./assert.hgn
./assert.hgn:6:9: size( argv_ ) > 1, missing argument
[amok@vegeta](2/1)~/$ ./assert.hgn 7
./assert.hgn:7:9: integer( argv_[1] ) == 42, not life, universe and everything else
[amok@vegeta](2/1)~/$ ./assert.hgn 42
[amok@vegeta](2/1)~/$