47 lines
No EOL
2 KiB
Text
47 lines
No EOL
2 KiB
Text
{{language|Pluto
|
|
|exec=interpreted
|
|
|strength=strong
|
|
|safety=safe
|
|
|express=implicit
|
|
|checking=dynamic
|
|
|gc=yes
|
|
|hopl=no
|
|
|site=https://pluto-lang.org/}}
|
|
Pluto is a superset of Lua 5.4 with a focus on general-purpose programming. While being remarkably compatible with Lua 5.4 source-code & bytecode, it enhances the standard library & adds more than a dozen highly-desired syntaxes such as switch statements, compound operators, classes, class inheritance, string interpolation, type hinting, enums, and so on.
|
|
|
|
Pluto aspires to be a version of Lua with a larger feature-set, that is all. Pluto is not a Lua-killer, an attempted successor, or any of that. Many people (rightly so) love Lua precisely because of the design philosophy. And fundamentally, Pluto is a major deviation from Lua's design philosophy. Some may prefer this, some may not.
|
|
|
|
The language is being developed on [https://github.com/PlutoLang/Pluto github] and pre-built binaries for 64-bit Linux, MacOS and Windows can be downloaded [https://github.com/PlutoLang/Pluto/releases here].
|
|
|
|
Here is a list of custom libraries used on Rosetta Code:
|
|
{|class="wikitable"
|
|
! No. !! Module name !! No. !! Module name
|
|
|-
|
|
| 1 || [[:Category:Pluto-fmt|fmt]] || 2 || [[:Category:Pluto-math2|math2]]
|
|
|-
|
|
| 3 || [[:Category:Pluto-int|int]] || 4 || [[:Category:Pluto-table2|table2]]
|
|
|-
|
|
| 5 || [[:Category:Pluto-complex|complex]] || 6 || [[:Category:Pluto-rat|rat]]
|
|
|-
|
|
| 7 || [[:Category:Pluto-queue|queue]] || 8 || [[:Category:Pluto-map|map]]
|
|
|-
|
|
| 9 || [[:Category:Pluto-list|list]] || 10 || [[:Category:Pluto-perm|perm]]
|
|
|-
|
|
|11 || [[:Category:Pluto-ansi|ansi]] || 12 || [[:Category:Pluto-io2|io2]]
|
|
|-
|
|
|13 || [[:Category:Pluto-uchar|uchar]] || 14 || [[:Category:Pluto-gchar|gchar]]
|
|
|-
|
|
|15 || [[:Category:Pluto-matrix|matrix]] || 16 || [[:Category:Pluto-poly|poly]]
|
|
|-
|
|
|17 || [[:Category:Pluto-audio|audio]] || 18 || [[:Category:Pluto-bitmap|bitmap]]
|
|
|-
|
|
|19 || [[:Category:Pluto-lsystem|lsystem]] || 20 || [[:Category:Pluto-bignum|bignum]]
|
|
|-
|
|
|}
|
|
|
|
== To do ==
|
|
[[Tasks not implemented in Pluto]]
|
|
|
|
== See also ==
|
|
|
|
[[Lua]] |