ple

所属分类:编程语言基础
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2023-08-01 01:59:47
上 传 者sh-1993
说明:  编程语言探索,
(Programming Language Explorations,)

文件列表:
LICENSE (1076, 2023-12-20)
ada/ (0, 2023-12-20)
ada/task_demo.adb (671, 2023-12-20)
ada/triple.adb (355, 2023-12-20)
apl/ (0, 2023-12-20)
apl/primes_to_50.apl (32, 2023-12-20)
awk/ (0, 2023-12-20)
awk/email_list.awk (201, 2023-12-20)
awk/wordcount.awk (157, 2023-12-20)
bash/ (0, 2023-12-20)
bash/hex2ipv4.sh (247, 2023-12-20)
befunge/ (0, 2023-12-20)
befunge/factorial.bf (29, 2023-12-20)
befunge/test.sh (611, 2023-12-20)
brainfuck/ (0, 2023-12-20)
brainfuck/hello.b (108, 2023-12-20)
brainfuck/hi.b (37, 2023-12-20)
c/ (0, 2023-12-20)
c/account_race.c (1180, 2023-12-20)
c/anagrams.c (778, 2023-12-20)
c/array_in_struct.c (447, 2023-12-20)
c/assignment.c (571, 2023-12-20)
c/cheating_with_pointers.c (161, 2023-12-20)
c/const.c (592, 2023-12-20)
c/dangling_auto_pointer.c (533, 2023-12-20)
c/directives.c (704, 2023-12-20)
c/hashmap.c (2703, 2023-12-20)
c/indexing.c (256, 2023-12-20)
c/memory.c (480, 2023-12-20)
c/null_and_wild_pointers.c (89, 2023-12-20)
c/permutations.c (764, 2023-12-20)
c/print_file.c (301, 2023-12-20)
c/reinterpret_cast.c (236, 2023-12-20)
c/simple_macro.c (138, 2023-12-20)
c/sizeof.c (487, 2023-12-20)
... ...

# Programming Language Explorations A collection of illustrative examples in close to 100 programming languages, including every code snippet used in the book [Programming Language Explorations](https://rtoal.github.io/ple). Nearly every program in this repo can be run at [Replit](https://replit.com). Many (especially the smaller single-file scripts) can also be run at [TIO](https://tio.run) or [OneCompiler](https://onecompiler.com/). Many languages feature their own ”official” online playgrounds, notably [Rust](https://play.rust-lang.org/), [Go](https://play.golang.com/), [TypeScript](https://www.typescriptlang.org/play), and [Haskell](https://play.haskell.org/). You are welcome to clone this repository and run the examples locally on your own machine. See the specific README files within the language sub folders for instructions running the examples this way. You'll generally have to first download and install a language implementation for your particular operating system and architecture; such information is generally available online, but the individual language READMEs will often have pointers. Each of the examples here have been tested on a machine running macOS using the language versions in the table below. The tests are executed via the `test.sh` script in each language folder. Modify the test script or install a suitable Unix-like virtual machine if you desire to run the test scripts yourself. | **Language** | | **Version** | **Platform** | | :----------- | :------------------------------------------: | :---------- | :----------------------------------------- | | Ada | ![](docs/resources/ada-logo-24.png) | 2015 | | | APL | ![](docs/resources/apl-logo-24.png) | | | | AWK | ![](docs/resources/awk-logo-24.png) | 20070501 | | | Bash | ![](docs/resources/bash-logo-24.png) | 3.2.57 | | | Befunge | | | | | Brainfuck | | | | | C | ![](docs/resources/c-logo-24.png) | C17 | Apple clang 14.0.3 | | C# | ![](docs/resources/csharp-logo-24.png) | | Mono C# compiler version 4.4.1.0 | | C++ | ![](docs/resources/cpp-logo-24.png) | C++20 | Apple clang 14.0.3 | | Ceylon | ![](docs/resources/ceylon-logo-24.png) | | | | Chapel | ![](docs/resources/chapel-logo-24.png) | 1.19.0 | | | Clojure | ![](docs/resources/clojure-logo-24.png) | 1.11.1.1347 | | | CoffeeScript | ![](docs/resources/coffeescript-logo-24.png) | 1.12.2 | | | Crystal | ![](docs/resources/crystal-logo-24.png) | | | | D | ![](docs/resources/d-logo-24.png) | | DMD64 D Compiler v2.076.0 | | Dart | ![](docs/resources/dart-logo-24.png) | 1.24.2 | | | Delphi | | | | | Elixir | ![](docs/resources/elixir-logo-24.png) | | | | Elm | ![](docs/resources/elm-logo-24.png) | 0.18.0 | | | Erlang | ![](docs/resources/erlang-logo-24.png) | 21 | Erlang/OTP 21 | | Factor | ![](docs/resources/factor-logo-24.png) | | | | F# | ![](docs/resources/fsharp-logo-24.png) | | | | Fortran | ![](docs/resources/erlang-logo-24.png) | | GNU Fortran (GCC) 6.1.0 | | Futhark | ![](docs/resources/futhark-logo-24.png) | | | | Go | ![](docs/resources/go-logo-24.png) | 1.16.4 | | | Grain | ![](docs/resources/grain-logo-24.png) | 0.5 | | | Hack | ![](docs/resources/hack-logo-24.png) | | | | Haskell | ![](docs/resources/haskell-logo-24.png) | 2010 | Glasgow Haskell Compilation System, 8.10.5 | | Idris | ![](docs/resources/idris-logo-24.png) | 1.3.1 | | | Io | ![](docs/resources/io-logo-24.png) | 20140919 | | | J | | | | | Java | ![](docs/resources/java-logo-24.png) | 20 | | | JavaScript | ![](docs/resources/javascriptlogo-24.png) | ES2023 | Node 20.3.1 | | Julia | ![](docs/resources/julia-logo-24.png) | 1.1.1 | | | K | ![](docs/resources/k-logo-24.png) | | Kona Win.3.39-69 | | Koka | ![](docs/resources/koka-logo-24.png) | | | | Kotlin | ![](docs/resources/kotlin-logo-24.png) | 1.9.0 | | | Lisp | | | | | LOLCODE | ![](docs/resources/lolcode-logo-24.png) | 0.11.2 | | | Lua | ![](docs/resources/lua-logo-24.png) | 5.4.3 | | | Mercury | ![](docs/resources/mercury-logo-24.png) | | | | Miranda | | | | | Mojo | ![](docs/resources/mojo-logo-24.png) | | | | Nasm | ![](docs/resources/nasm-logo-24.png) | 2.13.01 | | | Nemerle | ![](docs/resources/nemerle-logo-24.png) | | | | Nim | ![](docs/resources/nim-logo-24.png) | | | | OCaml | ![](docs/resources/ocaml-logo-24.png) | 4.07.1 | | | Octave | ![](docs/resources/octave-logo-24.png) | | | | Odin | ![](docs/resources/odin-logo-24.png) | | | | ParaSail | | | | | Perl | ![](docs/resources/perl-logo-24.png) | 5.26.0 | | | PHP | | | | | Prolog | | | | | PureScript | ![](docs/resources/purescript-logo-24.png) | 0.11.5 | | | Pyth | | | | | Python | ![](docs/resources/python-logo-24.png) | 3.10.0 | | | Q# | | | | | Quipper | | | | | Quorum | | | | | R | ![](docs/resources/r-logo-24.png) | | | | Racket | ![](docs/resources/racket-logo-24.png) | | | | Raku | | | | | Ruby | ![](docs/resources/ruby-logo-24.png) | 3.2.2 | | | Rust | ![](docs/resources/rust-logo-24.png) | 1.69.0 | | | Scala | ![](docs/resources/scala-logo-24.png) | 2.12.8 | | | Smalltalk | ![](docs/resources/smalltalk-logo-24.png) | | | | Standard ML | ![](docs/resources/sml-logo-24.png) | | mlton-20180207 | | SudoLang | | | | | Swift | ![](docs/resources/swift-logo-24.png) | 5.8.1 | | | Tcl | ![](docs/resources/tcl-logo-24.png) | | | | TypeScript | ![](docs/resources/typescript-logo-24.png) | 5.0.4 | | | V | ![](docs/resources/v-logo-24.png) | | | | Vala | ![](docs/resources/vala-logo-24.png) | | | | Verse | ![](docs/resources/verse-logo-24.png) | | | | Whiley | ![](docs/resources/whiley-logo-24.png) | | | | Zig | ![](docs/resources/zig-logo-24.png) | | |

近期下载者

相关文件


收藏者