2
2
Fork
You've already forked ChordBoot
0
Bootstrap implementation of the Chord programming language
  • Rust 98.2%
  • scala 1.5%
  • Just 0.3%
2026年06月15日 22:15:56 -04:00
assets Initial Commit 2026年05月05日 23:18:44 -04:00
chboot-lex Update some tokens 2026年06月01日 21:52:19 -04:00
chboot-parse Better trivia removal 2026年06月15日 22:15:56 -04:00
src Split lexer into subcrate 2026年05月08日 16:55:36 -04:00
.gitattributes Gitattributes 2026年05月24日 23:22:46 -04:00
.gitignore Initial Commit 2026年05月05日 23:18:44 -04:00
Cargo.lock Ditch Chumsky (again) (gah i cant makeup my mind) 2026年05月16日 15:38:34 -04:00
Cargo.toml Parser struct 2026年05月15日 16:21:15 -04:00
example.ch Switch to "def" for top-level functions 2026年05月24日 18:27:12 -04:00
justfile Split lexer into subcrate 2026年05月08日 16:55:36 -04:00
license.md Initial Commit 2026年05月05日 23:18:44 -04:00
readme.md Switch to "def" for top-level functions 2026年05月24日 18:27:12 -04:00
rustfmt.toml Initial Commit 2026年05月05日 23:18:44 -04:00

Chord logo

Chord is a functional-first programming language, with algebraic effects and no garbage collector. It is inspired by Rust, Scala, Koka, and the ML family.

with chord.log.Log
def main() {
	let nth <- 10
	let fib <- fib(0, 1, nth)
	printFib(nth, fib)
}
def fib(prev: Nat, current: Nat, target: Nat): Nat ->
	case target
	| 0 -> current
	| _ -> become fib(current, prev + current, target - 1)
def printFib(nth: Nat, fib: Nat) ->
	Log.print(f"Fib of {nth} is {fib}")

On LLMs and AI

Chord has a zero-AI policy in all official spaces. This includes (but is not limited to) code, issues, and pull requests. Attempts to circumvent this policy will result in a ban.

Exceptions may be provided for using translation tools in conversations. If you do, we recommend attaching the original text written in your native language, alongside the translated version. Use dedicated translation tools, rather than chatbots.