Polski
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
  1. Syntax
  2. Keywords
  3. Types

    Huginn provides several built-in scalar and collection types, as well as user defined compound types.

    integer real string number character boolean list deque dict order lookup set
  4. Built-ins
  5. Core library classes
  6. Packages

continue statement
Continue in while loop:

Editor (vim) - continue-while.hgn (Try it online!) [+line no]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#! /bin/sh
exec huginn --no-argv -E "${0}" "${@}"
#! huginn

main() {
	while ( ( line = input() ) != none ) {
		line = line.strip();
		x = integer( line );
		if ( x > 10 ) {
			print( "{} is too much for me :(\n".format( line ) );
			continue;
		}
		print( "{} squared is {}\n".format( line, x * x ) );
	}
	return ( 0 );
}

Program output:

Terminal - shell session [–line no]
[amok@vegeta](2/1)~/$ echo '1\n11\n2\n12\n3\n13\n4\n' | ./continue-while.hgn
1 squared is 1
11 is too much for me :(
2 squared is 4
12 is too much for me :(
3 squared is 9
13 is too much for me :(
4 squared is 16
[amok@vegeta](2/1)~/$

Continue in for loop:

Editor (vim) - continue-for.hgn (Try it online!) [+line no]
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 -E "${0}" "${@}"
#! huginn

main( argv_ ) {
	badWords = set( "equality", "nurture", "environment" );
	skipOnce = true;
	for ( w : argv_ ) {
		if ( skipOnce ) {
			skipOnce = false;
			continue;
		}
		if ( badWords.has_key( w ) ) {
			print(
				"I wholeheartedly reject {},\n"
				"commie propaganda won't fly here, bye.\n".format( w )
			);
			break;
		}
		print( "I can like this {} thingy :)\n".format( w ) );
	}
	return ( 0 );
}

Program output:

Terminal - shell session [–line no]
[amok@vegeta](2/1)~/$ ./continue-for.hgn liberty property\ rights capitalism equality environment nurture
I can like this liberty thingy :)
I can like this property rights thingy :)
I can like this capitalism thingy :)
I wholeheartedly reject equality,
commie propaganda won't fly here, bye.
[amok@vegeta](2/1)~/$