Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MotionLang/motion
Motion is a clean, dynamically typed programming language.
https://github.com/MotionLang/motion
c dynamic easy-to-use fast free language opensource programming-language safe simple small
Last synced: 3 months ago
JSON representation
Motion is a clean, dynamically typed programming language.
- Host: GitHub
- URL: https://github.com/MotionLang/motion
- Owner: MotionLang
- License: gpl-3.0
- Created: 2023-03-29T16:48:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-12T23:54:00.000Z (6 months ago)
- Last Synced: 2024-01-29T11:19:48.042Z (5 months ago)
- Topics: c, dynamic, easy-to-use, fast, free, language, opensource, programming-language, safe, simple, small
- Language: C
- Homepage:
- Size: 2.21 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Lists
- awesome-programming-languages - Motion - Motion is a clean, dynamically typed programming language, created in C with no dependencies. (Uncategorized / Uncategorized)
README
# Motion ↗️:
Motion is a dynamically typed general purpose programming language designed to help developers write fast, clean, and efficient code for a modern world.
Motion is created in pure ANSI C, with no dependancies.
Motion is a variation of the Lox language found at www.craftinginterpreters.com and is licensed under GNU GPL v3.0.
## Syntax
Motion's syntax aspires to be fresh, readable, and clean.
```python
## Comments are cool.var x; ## Declared variables are set to nil.
var y => 10; var z => 2;
## ^^^^ Multiline statements with ";"print x * y;
func add(a, b) => {
var new => (a + b);
print new;
return new;
}
```For more examples, see [examples](/example)
## Why Motion?
* ### :rocket: Motion is Speedy.
- On benchmarks, Motion is almost twice as fast as a similar python program!
* ### :bulb: Motion is Simple.
- Motion has a familiar, welcoming syntax. Everything "just works".
* ### :lock: Motion is Safe.
- A secure bytecode VM and JIT Compiler means safety issues are far and few.
* ### :floppy_disk: Motion is Small.
- No external dependancies and pure C means Motion is tiny, fitting at 130KB. That's small enough to fit on a floppy disk!## Contribution
See [Contribution](CONTRIBUTING.md)## Features
Motion supports (or will support):* :heavy_check_mark: Dynamic Typing
* :heavy_check_mark: First Class Functions & Objects
* :heavy_check_mark: Logical & Arithmetic Operators
* :heavy_check_mark: Loops and Control Flow
* :heavy_check_mark: Scoped Variables
* :heavy_check_mark: Closures
* :heavy_check_mark: Classes, Superclasses, & Inheritance
* And more! (hopefully)## Are you Ready to get Moving?
See [Getting Started](docs/Getting_Started/Installation.md)