Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
4
Lang/68000-Assembly/00DESCRIPTION
Normal file
4
Lang/68000-Assembly/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{stub}}{{language}}
|
||||
68000 assembly is the assembly language used for the Motorola 68000, or commonly known as the 68K. It should not be confused with the 6800 (which predates it). It was used in many computers such as the Amiga or the Canon Cat.
|
||||
|
||||
{{merge language | M680x0 }}
|
||||
1
Lang/68000-Assembly/100-doors
Symbolic link
1
Lang/68000-Assembly/100-doors
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/100-doors/68000-Assembly
|
||||
1
Lang/68000-Assembly/Ackermann-function
Symbolic link
1
Lang/68000-Assembly/Ackermann-function
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Ackermann-function/68000-Assembly
|
||||
1
Lang/68000-Assembly/README
Normal file
1
Lang/68000-Assembly/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Data source: http://rosettacode.org/wiki/Category:68000_Assembly
|
||||
1
Lang/68000-Assembly/Sieve-of-Eratosthenes
Symbolic link
1
Lang/68000-Assembly/Sieve-of-Eratosthenes
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Sieve-of-Eratosthenes/68000-Assembly
|
||||
1
Lang/68000-Assembly/Walk-a-directory-Non-recursively
Symbolic link
1
Lang/68000-Assembly/Walk-a-directory-Non-recursively
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Walk-a-directory-Non-recursively/68000-Assembly
|
||||
25
Lang/8051-Assembly/00DESCRIPTION
Normal file
25
Lang/8051-Assembly/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{{language}}
|
||||
[[Category:Assembly]]
|
||||
'''8051 Assembly''' is the [[Assembly|assembly language]] used by the [[wp:Intel_MCS-51|Intel 8051 (MCS-51)]] microcontroller, and its many derivatives. This 8-bit microcontroller is very popular because of its Boolean processor that operates on any of 32 bit-addressable bytes (16 in RAM, 16 SFRs). The 8051 has the ability to directly read, write and branch based on these individual bits.
|
||||
|
||||
Many chip makers, with the exception of Intel, continue to develop 8051 derivatives. All derivatives are compatible with the original instruction set, but most add new features. For this reason it is important to note whether the original 8051 or a derivative is used.
|
||||
|
||||
The 8051 has greatly increased in performance. Modern derivatives can perform over 400 times faster than the first ones ever could. 8051s exist nowadays in many embedded systems because they are smaller and use less power when compared with a 32-bit processor.
|
||||
|
||||
Original 8051 features:
|
||||
* 12 oscillator periods per machine cycle
|
||||
* 1 or 2 machine cycles per instruction (with the exception of MUL and DIV - both 4 machine cycles)
|
||||
* Four 8-bit bidirectional I/O ports
|
||||
* 128 bytes of internal RAM
|
||||
* Two 16-bit timers
|
||||
* Two-level priority interrupt
|
||||
* Six interrupt sources
|
||||
* Full-duplex [[wp:Universal_asynchronous_receiver/transmitter|UART]]
|
||||
* No [[wp:Watchdog_timer|watchdog]]
|
||||
|
||||
Derivatives exist that alter many or all features listed above.
|
||||
|
||||
==Useful links==
|
||||
* [http://www.keil.com/dd/docs/datashts/intel/ism51.pdf Instruction set]
|
||||
* [http://www.8052.com/tutintro.phtml Basic tutorial]
|
||||
* [http://plit.de/asem-51/ Freeware assembler]
|
||||
1
Lang/8051-Assembly/Arrays
Symbolic link
1
Lang/8051-Assembly/Arrays
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Arrays/8051-Assembly
|
||||
1
Lang/8051-Assembly/Bitwise-operations
Symbolic link
1
Lang/8051-Assembly/Bitwise-operations
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Bitwise-operations/8051-Assembly
|
||||
1
Lang/8051-Assembly/Boolean-values
Symbolic link
1
Lang/8051-Assembly/Boolean-values
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Boolean-values/8051-Assembly
|
||||
1
Lang/8051-Assembly/Empty-program
Symbolic link
1
Lang/8051-Assembly/Empty-program
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Empty-program/8051-Assembly
|
||||
1
Lang/8051-Assembly/Function-definition
Symbolic link
1
Lang/8051-Assembly/Function-definition
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Function-definition/8051-Assembly
|
||||
1
Lang/8051-Assembly/Integer-comparison
Symbolic link
1
Lang/8051-Assembly/Integer-comparison
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Integer-comparison/8051-Assembly
|
||||
1
Lang/8051-Assembly/README
Normal file
1
Lang/8051-Assembly/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Data source: http://rosettacode.org/wiki/Category:8051_Assembly
|
||||
1
Lang/8051-Assembly/Sleep
Symbolic link
1
Lang/8051-Assembly/Sleep
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Sleep/8051-Assembly
|
||||
1
Lang/8051-Assembly/Time-a-function
Symbolic link
1
Lang/8051-Assembly/Time-a-function
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Time-a-function/8051-Assembly
|
||||
26
Lang/8th/00DESCRIPTION
Normal file
26
Lang/8th/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
{{language|8th
|
||||
|site=http://8th-dev.com
|
||||
|untyped=no
|
||||
|exec=both
|
||||
|gc=yes
|
||||
|parampass=reference
|
||||
|strength=strong
|
||||
|checking=dynamic
|
||||
}}
|
||||
{{language programming paradigm|concatenative}}
|
||||
{{language programming paradigm|imperative}}
|
||||
8th™ is a cross-platform, secure, robust, cost-effective, extensible, and modern programming language and development environment.
|
||||
|
||||
Some of its features include:
|
||||
* Code is cross-platform (Windows, OS X, Linux, Android, iOS, Raspberry Pi)
|
||||
* Interprets source to native-code, no VM
|
||||
* Garbage collection via reference-counting
|
||||
* Integrated large integer/float numeric support
|
||||
* Strings are always UTF-8
|
||||
* Data declared using (extended) JSON syntax
|
||||
* L10N support
|
||||
* Easy cross-platform GUI
|
||||
* FFI (call native libraries)
|
||||
* Built-in networking (sockets, http etc)
|
||||
* Lots of other things... [http://8th-dev.com see the website] for more information.
|
||||
1
Lang/8th/100-doors
Symbolic link
1
Lang/8th/100-doors
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/100-doors/8th
|
||||
1
Lang/8th/24-game
Symbolic link
1
Lang/8th/24-game
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/24-game/8th
|
||||
1
Lang/8th/99-Bottles-of-Beer
Symbolic link
1
Lang/8th/99-Bottles-of-Beer
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/99-Bottles-of-Beer/8th
|
||||
1
Lang/8th/A+B
Symbolic link
1
Lang/8th/A+B
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/A+B/8th
|
||||
1
Lang/8th/Ackermann-function
Symbolic link
1
Lang/8th/Ackermann-function
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Ackermann-function/8th
|
||||
1
Lang/8th/Align-columns
Symbolic link
1
Lang/8th/Align-columns
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Align-columns/8th
|
||||
1
Lang/8th/Apply-a-callback-to-an-array
Symbolic link
1
Lang/8th/Apply-a-callback-to-an-array
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Apply-a-callback-to-an-array/8th
|
||||
1
Lang/8th/Arbitrary-precision-integers--included-
Symbolic link
1
Lang/8th/Arbitrary-precision-integers--included-
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Arbitrary-precision-integers--included-/8th
|
||||
1
Lang/8th/Arrays
Symbolic link
1
Lang/8th/Arrays
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Arrays/8th
|
||||
1
Lang/8th/Averages-Arithmetic-mean
Symbolic link
1
Lang/8th/Averages-Arithmetic-mean
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Averages-Arithmetic-mean/8th
|
||||
1
Lang/8th/Binary-digits
Symbolic link
1
Lang/8th/Binary-digits
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Binary-digits/8th
|
||||
1
Lang/8th/Call-a-foreign-language-function
Symbolic link
1
Lang/8th/Call-a-foreign-language-function
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Call-a-foreign-language-function/8th
|
||||
1
Lang/8th/Date-format
Symbolic link
1
Lang/8th/Date-format
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Date-format/8th
|
||||
1
Lang/8th/Delete-a-file
Symbolic link
1
Lang/8th/Delete-a-file
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Delete-a-file/8th
|
||||
1
Lang/8th/Detect-division-by-zero
Symbolic link
1
Lang/8th/Detect-division-by-zero
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Detect-division-by-zero/8th
|
||||
1
Lang/8th/Determine-if-a-string-is-numeric
Symbolic link
1
Lang/8th/Determine-if-a-string-is-numeric
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Determine-if-a-string-is-numeric/8th
|
||||
1
Lang/8th/Dot-product
Symbolic link
1
Lang/8th/Dot-product
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Dot-product/8th
|
||||
1
Lang/8th/Empty-string
Symbolic link
1
Lang/8th/Empty-string
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Empty-string/8th
|
||||
1
Lang/8th/Enforced-immutability
Symbolic link
1
Lang/8th/Enforced-immutability
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Enforced-immutability/8th
|
||||
1
Lang/8th/Even-or-odd
Symbolic link
1
Lang/8th/Even-or-odd
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Even-or-odd/8th
|
||||
1
Lang/8th/Evolutionary-algorithm
Symbolic link
1
Lang/8th/Evolutionary-algorithm
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Evolutionary-algorithm/8th
|
||||
1
Lang/8th/Fibonacci-sequence
Symbolic link
1
Lang/8th/Fibonacci-sequence
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Fibonacci-sequence/8th
|
||||
1
Lang/8th/FizzBuzz
Symbolic link
1
Lang/8th/FizzBuzz
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/FizzBuzz/8th
|
||||
1
Lang/8th/Flatten-a-list
Symbolic link
1
Lang/8th/Flatten-a-list
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Flatten-a-list/8th
|
||||
1
Lang/8th/Formatted-numeric-output
Symbolic link
1
Lang/8th/Formatted-numeric-output
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Formatted-numeric-output/8th
|
||||
1
Lang/8th/Generate-lower-case-ASCII-alphabet
Symbolic link
1
Lang/8th/Generate-lower-case-ASCII-alphabet
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Generate-lower-case-ASCII-alphabet/8th
|
||||
1
Lang/8th/Generic-swap
Symbolic link
1
Lang/8th/Generic-swap
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Generic-swap/8th
|
||||
1
Lang/8th/Greatest-common-divisor
Symbolic link
1
Lang/8th/Greatest-common-divisor
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Greatest-common-divisor/8th
|
||||
1
Lang/8th/Greatest-element-of-a-list
Symbolic link
1
Lang/8th/Greatest-element-of-a-list
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Greatest-element-of-a-list/8th
|
||||
1
Lang/8th/HTTP
Symbolic link
1
Lang/8th/HTTP
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/HTTP/8th
|
||||
1
Lang/8th/Hello-world-Text
Symbolic link
1
Lang/8th/Hello-world-Text
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Hello-world-Text/8th
|
||||
1
Lang/8th/Here-document
Symbolic link
1
Lang/8th/Here-document
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Here-document/8th
|
||||
1
Lang/8th/Higher-order-functions
Symbolic link
1
Lang/8th/Higher-order-functions
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Higher-order-functions/8th
|
||||
1
Lang/8th/Integer-comparison
Symbolic link
1
Lang/8th/Integer-comparison
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Integer-comparison/8th
|
||||
1
Lang/8th/Keyboard-input-Obtain-a-Y-or-N-response
Symbolic link
1
Lang/8th/Keyboard-input-Obtain-a-Y-or-N-response
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Keyboard-input-Obtain-a-Y-or-N-response/8th
|
||||
1
Lang/8th/Least-common-multiple
Symbolic link
1
Lang/8th/Least-common-multiple
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Least-common-multiple/8th
|
||||
1
Lang/8th/Loops-For
Symbolic link
1
Lang/8th/Loops-For
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Loops-For/8th
|
||||
1
Lang/8th/Loops-Infinite
Symbolic link
1
Lang/8th/Loops-Infinite
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Loops-Infinite/8th
|
||||
1
Lang/8th/MD5
Symbolic link
1
Lang/8th/MD5
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/MD5/8th
|
||||
1
Lang/8th/Modular-inverse
Symbolic link
1
Lang/8th/Modular-inverse
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Modular-inverse/8th
|
||||
1
Lang/8th/Null-object
Symbolic link
1
Lang/8th/Null-object
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Null-object/8th
|
||||
1
Lang/8th/One-dimensional-cellular-automata
Symbolic link
1
Lang/8th/One-dimensional-cellular-automata
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/One-dimensional-cellular-automata/8th
|
||||
1
Lang/8th/Parametrized-SQL-statement
Symbolic link
1
Lang/8th/Parametrized-SQL-statement
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Parametrized-SQL-statement/8th
|
||||
1
Lang/8th/Pascals-triangle
Symbolic link
1
Lang/8th/Pascals-triangle
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Pascals-triangle/8th
|
||||
1
Lang/8th/Queue-Usage
Symbolic link
1
Lang/8th/Queue-Usage
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Queue-Usage/8th
|
||||
1
Lang/8th/README
Normal file
1
Lang/8th/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Data source: http://rosettacode.org/wiki/Category:8th
|
||||
1
Lang/8th/Range-expansion
Symbolic link
1
Lang/8th/Range-expansion
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Range-expansion/8th
|
||||
1
Lang/8th/Read-a-file-line-by-line
Symbolic link
1
Lang/8th/Read-a-file-line-by-line
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Read-a-file-line-by-line/8th
|
||||
1
Lang/8th/Read-entire-file
Symbolic link
1
Lang/8th/Read-entire-file
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Read-entire-file/8th
|
||||
1
Lang/8th/Regular-expressions
Symbolic link
1
Lang/8th/Regular-expressions
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Regular-expressions/8th
|
||||
1
Lang/8th/Repeat-a-string
Symbolic link
1
Lang/8th/Repeat-a-string
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Repeat-a-string/8th
|
||||
1
Lang/8th/Reverse-a-string
Symbolic link
1
Lang/8th/Reverse-a-string
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Reverse-a-string/8th
|
||||
1
Lang/8th/Semordnilap
Symbolic link
1
Lang/8th/Semordnilap
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Semordnilap/8th
|
||||
1
Lang/8th/Sleep
Symbolic link
1
Lang/8th/Sleep
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Sleep/8th
|
||||
1
Lang/8th/Sort-an-integer-array
Symbolic link
1
Lang/8th/Sort-an-integer-array
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Sort-an-integer-array/8th
|
||||
1
Lang/8th/Temperature-conversion
Symbolic link
1
Lang/8th/Temperature-conversion
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Temperature-conversion/8th
|
||||
1
Lang/8th/Towers-of-Hanoi
Symbolic link
1
Lang/8th/Towers-of-Hanoi
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Towers-of-Hanoi/8th
|
||||
1
Lang/8th/Unicode-variable-names
Symbolic link
1
Lang/8th/Unicode-variable-names
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Unicode-variable-names/8th
|
||||
1
Lang/8th/Unix-ls
Symbolic link
1
Lang/8th/Unix-ls
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Unix-ls/8th
|
||||
1
Lang/8th/Variables
Symbolic link
1
Lang/8th/Variables
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Variables/8th
|
||||
1
Lang/8th/Walk-a-directory-Non-recursively
Symbolic link
1
Lang/8th/Walk-a-directory-Non-recursively
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Walk-a-directory-Non-recursively/8th
|
||||
1
Lang/8th/Walk-a-directory-Recursively
Symbolic link
1
Lang/8th/Walk-a-directory-Recursively
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Walk-a-directory-Recursively/8th
|
||||
1
Lang/8th/Web-scraping
Symbolic link
1
Lang/8th/Web-scraping
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Web-scraping/8th
|
||||
1
Lang/8th/XML-Input
Symbolic link
1
Lang/8th/XML-Input
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/XML-Input/8th
|
||||
1
Lang/8th/Zero-to-the-zero-power
Symbolic link
1
Lang/8th/Zero-to-the-zero-power
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Zero-to-the-zero-power/8th
|
||||
6
Lang/AngelScript/00DESCRIPTION
Normal file
6
Lang/AngelScript/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{{stub}}
|
||||
{{language|AngelScript}}
|
||||
|
||||
This is a scripting language created by Andreas Jönsson. The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer.
|
||||
|
||||
* [http://www.angelcode.com/angelscript/ Learn More]
|
||||
1
Lang/AngelScript/README
Normal file
1
Lang/AngelScript/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Data source: http://rosettacode.org/wiki/Category:AngelScript
|
||||
56
Lang/AntLang/00DESCRIPTION
Normal file
56
Lang/AntLang/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{{language|AntLang}}
|
||||
'''AntLang''' is a functional scripting language named after its creator Anthony Cipriano. Its main distinctive feature is short syntax oriented towards mathematical equations.
|
||||
|
||||
It is a combination of APL and M-Expressions, which main strength is its short and concise syntax.
|
||||
|
||||
The first implementation of AntLang was written in [[Haskell]], another one called OpenCally is a [[C]] framework and can be used as a software library to write AntLang compilers.
|
||||
|
||||
This framework is in use for writing the AntLang-to-[[JavaScript]]-compiler antlang-js and the command run-antlang.
|
||||
|
||||
== Code examples ==
|
||||
|
||||
=== Simple math ===
|
||||
5*1+2 /=> 15
|
||||
|
||||
AntLang uses right-to-left evaluation, so 1+2 gets executed before 5*3.
|
||||
|
||||
Even though AntLang evaluates right-to-left, it is recommended to read left-to-right in a top-down manner.
|
||||
|
||||
=== Hello World ===
|
||||
echo["helloworld"]
|
||||
|
||||
The echo function is called with the string ''helloworld'', prints it and returns it.
|
||||
|
||||
=== Factorial ===
|
||||
factorial:{1 */ 1+range[x]}
|
||||
|
||||
The times-reduction (*/) with the accumulator value 1 over the list 1+range[x].
|
||||
|
||||
=== Fibonacci sequence ===
|
||||
fib:{<0;1>{x,<+|-2#x>}/range[x]}
|
||||
|
||||
== Implementations ==
|
||||
=== hsAntLang ===
|
||||
hsAntLang was the first AntLang implementation, which is still used by most of AntLang users.
|
||||
|
||||
It fully implements the language standard plus several extensions, like multithreading, file Input/output and exception handling.
|
||||
|
||||
It is hosted on GitHub.
|
||||
|
||||
=== OpenCally ===
|
||||
OpenCally is an AntLang compiler by AntLang Software.
|
||||
|
||||
It is under active development and doesn't support all the standard functions and syntax yet.
|
||||
|
||||
OpenCally adds interfaces to all its target languages (currently [[JavaScript]]):
|
||||
/ load the standard library
|
||||
:"?/lib/stdlib.a"
|
||||
/ make a JavaScript function available to AntLang (prefix: v_)
|
||||
js)v_console_log = console.log;
|
||||
/ call that function from within AntLang
|
||||
console_log each <"APL"; "Haskell"; "Erlang">
|
||||
|
||||
To execute the code above on a machine with OpenCally installed, run:
|
||||
$ run-antlang file.ant
|
||||
|
||||
It is also hosted on GitHub.
|
||||
1
Lang/AntLang/Array-concatenation
Symbolic link
1
Lang/AntLang/Array-concatenation
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Array-concatenation/AntLang
|
||||
1
Lang/AntLang/Arrays
Symbolic link
1
Lang/AntLang/Arrays
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Arrays/AntLang
|
||||
1
Lang/AntLang/Averages-Arithmetic-mean
Symbolic link
1
Lang/AntLang/Averages-Arithmetic-mean
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Averages-Arithmetic-mean/AntLang
|
||||
1
Lang/AntLang/Averages-Median
Symbolic link
1
Lang/AntLang/Averages-Median
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Averages-Median/AntLang
|
||||
1
Lang/AntLang/Call-a-function
Symbolic link
1
Lang/AntLang/Call-a-function
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Call-a-function/AntLang
|
||||
1
Lang/AntLang/Closures-Value-capture
Symbolic link
1
Lang/AntLang/Closures-Value-capture
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Closures-Value-capture/AntLang
|
||||
1
Lang/AntLang/Comments
Symbolic link
1
Lang/AntLang/Comments
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Comments/AntLang
|
||||
1
Lang/AntLang/Even-or-odd
Symbolic link
1
Lang/AntLang/Even-or-odd
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Even-or-odd/AntLang
|
||||
1
Lang/AntLang/Factorial
Symbolic link
1
Lang/AntLang/Factorial
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Factorial/AntLang
|
||||
1
Lang/AntLang/Fibonacci-sequence
Symbolic link
1
Lang/AntLang/Fibonacci-sequence
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Fibonacci-sequence/AntLang
|
||||
1
Lang/AntLang/Filter
Symbolic link
1
Lang/AntLang/Filter
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Filter/AntLang
|
||||
1
Lang/AntLang/FizzBuzz
Symbolic link
1
Lang/AntLang/FizzBuzz
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/FizzBuzz/AntLang
|
||||
1
Lang/AntLang/Function-composition
Symbolic link
1
Lang/AntLang/Function-composition
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Function-composition/AntLang
|
||||
1
Lang/AntLang/Function-definition
Symbolic link
1
Lang/AntLang/Function-definition
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Function-definition/AntLang
|
||||
1
Lang/AntLang/Greatest-common-divisor
Symbolic link
1
Lang/AntLang/Greatest-common-divisor
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Greatest-common-divisor/AntLang
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue