Neko
'''Neko''' is a high-level dynamically typed programming language developed by Nicolas Cannasse at Motion-Twin as part of a R&D effort for better languages.
'''Neko''' is also the name used for a Virtual Machine bytecode interpreter. The VM can be embedded in applications via a C language API.
The '''nekoc''' command compiles Neko source code into NekoVM bytecode. The '''neko''' command runs NekoVM bytecode.
Another language, '''NekoML''', also compiles to NekoVM bytecode. '''nekoml''' is a higher level functional programming language, inspired by OCaml.
Other tools that ship with Neko, include a '''nekotools boot''' wrapper to create native executables that encapsulate NekoVM bytecode, and a small web server engine with embedded Neko. The '''nekotools server''' engine emulates the API provided by the Apache webserver plugin modules ''mod_neko'' and ''mod_tora''.
'''Neko''' is a core part of the Haxe programming language/toolkit; one of the output targets. Neko is used for system level access, command line applications, and takes a supporting role in some of the tools that make up the Haxe programming environment.
'''Neko''', introduced in 2005, may be superseded by a new virtual machine engine for Haxe development, HashLink. '''HashLink''' was introduced in 2016, designed as a successor to '''Neko'''. Haxe 4 (in preview in late 2018), still supports compilation to Neko bytecode and the '''Haxe 4''' environment still uses Neko library functions.
Tasks
- A+B
- Array concatenation
- Array length
- Arrays
- Bitwise operations
- Boolean values
- CRC-32
- Character codes
- Check that file exists
- Command-line arguments
- Comments
- Concurrent computing
- Copy a string
- DNS query
- Date format
- Documentation
- Even or odd
- Factorial
- Find limit of recursion
- Fixed length records
- FizzBuzz
- Function definition
- Generate lower case ASCII alphabet
- Get system command output
- Greatest element of a list
- Hash from two arrays
- Hello world!
- Hello world/Graphical
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Host introspection
- Increment a numerical string
- Inheritance/Single
- Jump anywhere
- Leap year
- Literals/Integer
- Logical operations
- Loops/Break
- Loops/Do-while
- Loops/Nested
- Loops/While
- MD5
- Multiplication tables
- Null object
- Object serialization
- Program termination
- Read a file line by line
- Read entire file
- Real constants and functions
- Remove duplicate elements
- Repeat a string
- Reverse a string
- Rot-13
- Sockets
- Sort an integer array
- String append
- String concatenation
- String interpolation (included)
- String prepend
- Substring/Top and tail
- System time
- XML/Input
- Zero to the zero power