KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
Lang-by-example
★ 9
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
whatsapp-bot
:
Multipurpose and Lightweight Whatsapp bot based on baileys
Maestone-Emulator
:
An attempt to revive the game "Maestia: Rise of Keledus".
icesat2_canopy_heights
:
(WORK IN PROGRESS) Derive estimated canopy heights from raw ICESat-2 ATL03 photon returns.
foodprice-forecasting
:
Vector Institute and University of Guelph forecasting contribution to Canada's Food Price Report.
adminlte4
:
Auto Generate Code current AdminLTE v4 https://github.com/ColorlibHQ/AdminLTE
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Lang-by-example
?
Download (.md)
# Lang-by-example I will store basic examples from the cool languages I find. it's something like [learnXinYminutes](https://learnxinyminutes.com/), but the list of examples are the same for every lang. I prefer less well-known languages. If you want to add your language, feel free to do PR ^^ # Basic 0) create and run project with cli if possible 1) type declaration person 2) tagged union declaration if possible 3) hello world 4) creating type instance 5) call function 6) change instance field 7) create function for type 8) loop 9) if 10) switch/pm (on tagged union if possible) 11) some collections ## Ready "basics" langs From ML to imperative or smth :) ML * [Gleam](https://github.com/gavr123456789/Lang-by-example/blob/master/Gleam/basic/src/basic.gleam) - BEAM VM, ML-like lang with HM type system, focus on simplicity [site](https://gleam.run/) * [Rescript](https://github.com/gavr123456789/Lang-by-example/blob/master/Rescript/basic/src/Basic.res) - ML with C-like syntax transpiles to JS, sould type system. [site](https://rescript-lang.org/) * [Grain](https://github.com/gavr123456789/Lang-by-example/blob/master/Grain/basic.gr) - Wasm nativ ML-like lang [site](https://grain-lang.org/) * [F#](https://github.com/gavr123456789/Lang-by-example/blob/master/F%23/basic/Basic.fsx) - ML by M$ [site](https://fsharp.org/) ML/Imperative * [Rust](https://github.com/gavr123456789/Lang-by-example/blob/master/Rust/basic/src/main.rs) - System lang with ML like type system and borrow checker. [site](https://www.rust-lang.org/) * [Niva](https://github.com/gavr123456789/Lang-by-example/blob/master/Niva) - Typed Smalltalk where I replaced OOP with tagged unions. JVM interopable. Errors as effects, nullability. [site](https://gavr123456789.github.io/niva-site/reference.html) Effects * [Flix](https://github.com/gavr123456789/Lang-by-example/blob/master/Flix) - JVM, powerful effect-oriented programming language [site](https://flix.dev/) Imperative * [Nim](https://github.com/gavr123456789/Lang-by-example/tree/master/Nim) - Transpiles to C, C++, JS, simply best native lang, Lisp's macros, but static typed. [site](https://nim-lang.org/) * [Nelua] - Lua with types and powerful macro system. [site](https://nelua.io/) Lisp * [Clojure](https://github.com/gavr123456789/Lang-by-example/tree/master/Clojure/simple) - JVM, best lisp [site](https://clojure.org/) OOP * [Kotlin](https://github.com/gavr123456789/Lang-by-example/blob/master/Kotlin/basic/src/main/kotlin/Main.kt) - K goes after J, so its better than Java. [site](https://kotlinlang.org/) * [Swift](https://github.com/gavr123456789/Lang-by-example/blob/master/Swift/basic/Sources/basic/main.swift) - Overcomplicated Vala. [site](https://developer.apple.com/swift/) ## In progress Effects * [Unison](https://github.com/gavr123456789/Lang-by-example/tree/master/Unison) - Smalltalk + Haskell, Image based, native distributed programming, algebraic effects [site](https://www.unison-lang.org/) * [Roc](https://github.com/gavr123456789/Lang-by-example/tree/master/Roc) - Elm like lang but works on backend, fast compilation, effects in type system [site](https://www.roc-lang.org/) OOP * [Crystal](https://github.com/gavr123456789/Lang-by-example/tree/master/Crystal) - Ruby but LLVM [site](https://crystal-lang.org/) Real OOP * [Smalltalk](https://github.com/gavr123456789/Lang-by-example/tree/master/Smalltalk) - Father of high-level languages, everything we have now was invented by these people [Pharo](https://pharo.org/) [Cuis](https://cuis.st/) [Squeak](https://squeak.org/) Imperative * [Go](https://github.com/gavr123456789/Lang-by-example/blob/master/Go/Basic/main.go) - simple, scalable systems, fast compilation, native, no function coloring [site](https://go.dev/) * Teal - typed dialect of Lua https://github.com/teal-language/tl (site)[https://github.com/teal-language/tl] Lisp Fennel - lua, but lisp with macros [site](https://fennel-lang.org/) # Simple HTTP server PRs are welcome ## Ready langs * Kotlin * Gleam * Clojure # ??? Some other simple project idea... maybe json\ini parser