The Scopes Programming Language & Compiler Infrastructure
36936c479784 — Leonard Ritter default tip 5 days ago
* `local` and `global` now treat right hand side declarations equivalent to `:=`
93bbcb8199c7 — Leonard Ritter 12 days ago
* added `write`, which is like `print` but does not append a newline character
d55be3e129f6 — Leonard Ritter 12 days ago
* `:=` has now precedence over infix expressions

heads

tip
browse log
release-0.18
browse .tar.gz

clone

read-only
https://hg.sr.ht/~duangle/scopes
read/write
ssh://hg@hg.sr.ht/~duangle/scopes

scopes_logo_210px.png

#Welcome to Scopes

Scopes is a retargetable programming language & infrastructure.

Downloads | Tags | Nightly Builds

#Features

  • A performant systems programming language that feels like a scripting language.
  • Aims to combine the expressiveness of Scheme with the convenience of Python, Lua or Javascript and the performance of C.
  • Compile-time resource management using view propagation, an annotation-free variation of borrow checking.
  • A single codebase targets native 64-bit Linux, Windows and macOS as well as SPIR-V and GLSL shaders. Your math functions run on CPU and GPU without modification.
  • Fully interoperable with C libraries. Import and use C include files directly.
  • Support for live code execution as well as offline compilation of object files.
  • Statically typed but fully inferred type system via forward propagation. Supports closures as zero-cost abstraction.
  • Open Source MIT licensed.
  • Built with LLVM and clang for multi-stage programming features and overhead-free interoperability with C libraries.

See Documentation for more information.

#Editor Support

#Help & Support

For help, questions and feedback:

For bug reports: