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 OperatingSystem package provides an interface to various operating system functionalities.

Methods
  • OperatingSystemException( message ) - create instance of OperatingSystemException with given message
  • env( name ) - get value of an environment variable named name
  • exec( prog, args... ) - replace current process space with running image of prog providing it with args arguments
  • exit( status ) - exit the interpreter with the status
  • spawn( prog, args... ) - start a subprocess prog providing it with args arguments
  • stderr() - get access to interpreter's standard error stream
  • stdin() - get access to interpreter's standard input stream
  • stdlog() - get access to interpreter's standard log stream
  • stdout() - get access to interpreter's standard output stream

The OperatingSystemException exception type for OperatingSystem package.

The Subprocess class represents a system process spawned from this interpreter instance. It allows for a basic process life management.

Methods
  • err() - standard error stream of a subprocess
  • get_pid() - get operating system Process IDentification-number of this subprocess
  • in() - standard input stream of a subprocess
  • is_alive() - tell if given subprocess is alive and running
  • kill() - this sub-process
  • out() - standard output stream of a subprocess
  • wait() - for this subprocess to finish is execution and return its exit status