Add tasks for all the new languages

This commit is contained in:
Tina Müller 2016-12-05 23:44:36 +01:00
parent 9dc3c2bb62
commit bba7bfd280
13208 changed files with 134745 additions and 0 deletions

View 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 }}

View File

@ -0,0 +1 @@
../../Task/100-doors/68000-Assembly

View File

@ -0,0 +1 @@
../../Task/Ackermann-function/68000-Assembly

View File

@ -0,0 +1 @@
Data source: http://rosettacode.org/wiki/Category:68000_Assembly

View File

@ -0,0 +1 @@
../../Task/Sieve-of-Eratosthenes/68000-Assembly

View File

@ -0,0 +1 @@
../../Task/Walk-a-directory-Non-recursively/68000-Assembly

View 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
View File

@ -0,0 +1 @@
../../Task/Arrays/8051-Assembly

View File

@ -0,0 +1 @@
../../Task/Bitwise-operations/8051-Assembly

View File

@ -0,0 +1 @@
../../Task/Boolean-values/8051-Assembly

View File

@ -0,0 +1 @@
../../Task/Empty-program/8051-Assembly

View File

@ -0,0 +1 @@
../../Task/Function-definition/8051-Assembly

View File

@ -0,0 +1 @@
../../Task/Integer-comparison/8051-Assembly

View File

@ -0,0 +1 @@
Data source: http://rosettacode.org/wiki/Category:8051_Assembly

1
Lang/8051-Assembly/Sleep Symbolic link
View File

@ -0,0 +1 @@
../../Task/Sleep/8051-Assembly

View File

@ -0,0 +1 @@
../../Task/Time-a-function/8051-Assembly

26
Lang/8th/00DESCRIPTION Normal file
View 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
View File

@ -0,0 +1 @@
../../Task/100-doors/8th

1
Lang/8th/24-game Symbolic link
View File

@ -0,0 +1 @@
../../Task/24-game/8th

1
Lang/8th/99-Bottles-of-Beer Symbolic link
View File

@ -0,0 +1 @@
../../Task/99-Bottles-of-Beer/8th

1
Lang/8th/A+B Symbolic link
View File

@ -0,0 +1 @@
../../Task/A+B/8th

1
Lang/8th/Ackermann-function Symbolic link
View File

@ -0,0 +1 @@
../../Task/Ackermann-function/8th

1
Lang/8th/Align-columns Symbolic link
View File

@ -0,0 +1 @@
../../Task/Align-columns/8th

View File

@ -0,0 +1 @@
../../Task/Apply-a-callback-to-an-array/8th

View File

@ -0,0 +1 @@
../../Task/Arbitrary-precision-integers--included-/8th

1
Lang/8th/Arrays Symbolic link
View File

@ -0,0 +1 @@
../../Task/Arrays/8th

View File

@ -0,0 +1 @@
../../Task/Averages-Arithmetic-mean/8th

1
Lang/8th/Binary-digits Symbolic link
View File

@ -0,0 +1 @@
../../Task/Binary-digits/8th

View File

@ -0,0 +1 @@
../../Task/Call-a-foreign-language-function/8th

1
Lang/8th/Date-format Symbolic link
View File

@ -0,0 +1 @@
../../Task/Date-format/8th

1
Lang/8th/Delete-a-file Symbolic link
View File

@ -0,0 +1 @@
../../Task/Delete-a-file/8th

View File

@ -0,0 +1 @@
../../Task/Detect-division-by-zero/8th

View File

@ -0,0 +1 @@
../../Task/Determine-if-a-string-is-numeric/8th

1
Lang/8th/Dot-product Symbolic link
View File

@ -0,0 +1 @@
../../Task/Dot-product/8th

1
Lang/8th/Empty-string Symbolic link
View File

@ -0,0 +1 @@
../../Task/Empty-string/8th

View File

@ -0,0 +1 @@
../../Task/Enforced-immutability/8th

1
Lang/8th/Even-or-odd Symbolic link
View File

@ -0,0 +1 @@
../../Task/Even-or-odd/8th

View File

@ -0,0 +1 @@
../../Task/Evolutionary-algorithm/8th

1
Lang/8th/Fibonacci-sequence Symbolic link
View File

@ -0,0 +1 @@
../../Task/Fibonacci-sequence/8th

1
Lang/8th/FizzBuzz Symbolic link
View File

@ -0,0 +1 @@
../../Task/FizzBuzz/8th

1
Lang/8th/Flatten-a-list Symbolic link
View File

@ -0,0 +1 @@
../../Task/Flatten-a-list/8th

View File

@ -0,0 +1 @@
../../Task/Formatted-numeric-output/8th

View File

@ -0,0 +1 @@
../../Task/Generate-lower-case-ASCII-alphabet/8th

1
Lang/8th/Generic-swap Symbolic link
View File

@ -0,0 +1 @@
../../Task/Generic-swap/8th

View File

@ -0,0 +1 @@
../../Task/Greatest-common-divisor/8th

View File

@ -0,0 +1 @@
../../Task/Greatest-element-of-a-list/8th

1
Lang/8th/HTTP Symbolic link
View File

@ -0,0 +1 @@
../../Task/HTTP/8th

1
Lang/8th/Hello-world-Text Symbolic link
View File

@ -0,0 +1 @@
../../Task/Hello-world-Text/8th

1
Lang/8th/Here-document Symbolic link
View File

@ -0,0 +1 @@
../../Task/Here-document/8th

View File

@ -0,0 +1 @@
../../Task/Higher-order-functions/8th

1
Lang/8th/Integer-comparison Symbolic link
View File

@ -0,0 +1 @@
../../Task/Integer-comparison/8th

View File

@ -0,0 +1 @@
../../Task/Keyboard-input-Obtain-a-Y-or-N-response/8th

View File

@ -0,0 +1 @@
../../Task/Least-common-multiple/8th

1
Lang/8th/Loops-For Symbolic link
View File

@ -0,0 +1 @@
../../Task/Loops-For/8th

1
Lang/8th/Loops-Infinite Symbolic link
View File

@ -0,0 +1 @@
../../Task/Loops-Infinite/8th

1
Lang/8th/MD5 Symbolic link
View File

@ -0,0 +1 @@
../../Task/MD5/8th

1
Lang/8th/Modular-inverse Symbolic link
View File

@ -0,0 +1 @@
../../Task/Modular-inverse/8th

1
Lang/8th/Null-object Symbolic link
View File

@ -0,0 +1 @@
../../Task/Null-object/8th

View File

@ -0,0 +1 @@
../../Task/One-dimensional-cellular-automata/8th

View File

@ -0,0 +1 @@
../../Task/Parametrized-SQL-statement/8th

1
Lang/8th/Pascals-triangle Symbolic link
View File

@ -0,0 +1 @@
../../Task/Pascals-triangle/8th

1
Lang/8th/Queue-Usage Symbolic link
View File

@ -0,0 +1 @@
../../Task/Queue-Usage/8th

1
Lang/8th/README Normal file
View File

@ -0,0 +1 @@
Data source: http://rosettacode.org/wiki/Category:8th

1
Lang/8th/Range-expansion Symbolic link
View File

@ -0,0 +1 @@
../../Task/Range-expansion/8th

View File

@ -0,0 +1 @@
../../Task/Read-a-file-line-by-line/8th

1
Lang/8th/Read-entire-file Symbolic link
View File

@ -0,0 +1 @@
../../Task/Read-entire-file/8th

View File

@ -0,0 +1 @@
../../Task/Regular-expressions/8th

1
Lang/8th/Repeat-a-string Symbolic link
View File

@ -0,0 +1 @@
../../Task/Repeat-a-string/8th

1
Lang/8th/Reverse-a-string Symbolic link
View File

@ -0,0 +1 @@
../../Task/Reverse-a-string/8th

1
Lang/8th/Semordnilap Symbolic link
View File

@ -0,0 +1 @@
../../Task/Semordnilap/8th

1
Lang/8th/Sleep Symbolic link
View File

@ -0,0 +1 @@
../../Task/Sleep/8th

View File

@ -0,0 +1 @@
../../Task/Sort-an-integer-array/8th

View File

@ -0,0 +1 @@
../../Task/Temperature-conversion/8th

1
Lang/8th/Towers-of-Hanoi Symbolic link
View File

@ -0,0 +1 @@
../../Task/Towers-of-Hanoi/8th

View File

@ -0,0 +1 @@
../../Task/Unicode-variable-names/8th

1
Lang/8th/Unix-ls Symbolic link
View File

@ -0,0 +1 @@
../../Task/Unix-ls/8th

1
Lang/8th/Variables Symbolic link
View File

@ -0,0 +1 @@
../../Task/Variables/8th

View File

@ -0,0 +1 @@
../../Task/Walk-a-directory-Non-recursively/8th

View File

@ -0,0 +1 @@
../../Task/Walk-a-directory-Recursively/8th

1
Lang/8th/Web-scraping Symbolic link
View File

@ -0,0 +1 @@
../../Task/Web-scraping/8th

1
Lang/8th/XML-Input Symbolic link
View File

@ -0,0 +1 @@
../../Task/XML-Input/8th

View File

@ -0,0 +1 @@
../../Task/Zero-to-the-zero-power/8th

View 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
View File

@ -0,0 +1 @@
Data source: http://rosettacode.org/wiki/Category:AngelScript

View 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.

View File

@ -0,0 +1 @@
../../Task/Array-concatenation/AntLang

1
Lang/AntLang/Arrays Symbolic link
View File

@ -0,0 +1 @@
../../Task/Arrays/AntLang

View File

@ -0,0 +1 @@
../../Task/Averages-Arithmetic-mean/AntLang

View File

@ -0,0 +1 @@
../../Task/Averages-Median/AntLang

View File

@ -0,0 +1 @@
../../Task/Call-a-function/AntLang

View File

@ -0,0 +1 @@
../../Task/Closures-Value-capture/AntLang

1
Lang/AntLang/Comments Symbolic link
View File

@ -0,0 +1 @@
../../Task/Comments/AntLang

1
Lang/AntLang/Even-or-odd Symbolic link
View File

@ -0,0 +1 @@
../../Task/Even-or-odd/AntLang

1
Lang/AntLang/Factorial Symbolic link
View File

@ -0,0 +1 @@
../../Task/Factorial/AntLang

View File

@ -0,0 +1 @@
../../Task/Fibonacci-sequence/AntLang

1
Lang/AntLang/Filter Symbolic link
View File

@ -0,0 +1 @@
../../Task/Filter/AntLang

1
Lang/AntLang/FizzBuzz Symbolic link
View File

@ -0,0 +1 @@
../../Task/FizzBuzz/AntLang

View File

@ -0,0 +1 @@
../../Task/Function-composition/AntLang

View File

@ -0,0 +1 @@
../../Task/Function-definition/AntLang

View File

@ -0,0 +1 @@
../../Task/Greatest-common-divisor/AntLang

Some files were not shown because too many files have changed in this diff Show More