-login:
user: password:
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

The Stream class gives an interface for stream based I/O operations.

Methods
  • SEEK - set of possible modes used for seeking in streams.
  • StreamException( message ) - create instance of StreamException with given message
  • deserialize() - deserialize single Huginn object from this stream
  • read_blob( count ) read count bytes of data from this stream
  • read_character( count ) read count==(1|2|4) bytes of data as a character from this stream
  • read_integer( count ) read count==(1|2|4|8) bytes of data as an integer from this stream
  • read_integer_unsigned( count ) read count==(1|2|4|8) bytes of data as an integer from this stream's unsigned raw storage
  • read_line() - read single line of text from this stream
  • read_real( count ) read count==(4|8|16) bytes of data as a real from this stream
  • read_string( count ) read count bytes of UTF-8 encoded characters as a string from this stream
  • seek( offset, anchor ) - move reading/writing position to the offset counted from an anchor
  • serialize( val ) - serialize given val info this stream
  • write_blob( blobVal, count ) - write count number of bytes from given blobVal info this stream
  • write_character( charVal, count ) - write count==(1|2|4) number of bytes from given charVal info this stream
  • write_integer( intVal, count ) - write count==(1|2|4|8) number of bytes from given intVal info this stream
  • write_integer_unsigned( intVal, count ) - write count==(1|2|4|8) number of bytes from given intVal info this stream's unsigned raw storage
  • write_line( strVal ) - write entriety of given strVal info this stream
  • write_real( realVal, count ) - write count==(4|8|16) number of bytes from given realVal info this stream
  • write_string( strVal, count ) - write count number of code points from given strVal info this stream

The SEEK is set of possible anchors used for seeking in seekable streams.

Methods
  • BEGIN - Count offset position form the beginning of the stream.
  • CURRENT - Count offset position form the current position in the stream.
  • END - Count offset position form the end of the stream.