Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qrichert/carbonscript
High-level programming language for application end-users.
https://github.com/qrichert/carbonscript
Last synced: about 1 month ago
JSON representation
High-level programming language for application end-users.
- Host: GitHub
- URL: https://github.com/qrichert/carbonscript
- Owner: qrichert
- License: mit
- Created: 2023-05-24T13:50:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T16:54:05.000Z (10 months ago)
- Last Synced: 2024-03-22T18:00:58.558Z (10 months ago)
- Language: Python
- Homepage:
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CarbonScript
CarbonScript is a high-level programming language.
It is primarily designed to be embedded in applications and to face
end-users.Being a mix of Python and C-style/JavaScripty syntax, it should be quite
easy to pick up.## First Time Looking at Interpreter Code?
Check out the
[Interpreter Crash Course](docs/interpreter-crash-course.md).## Language Tour
See [Language Tour](docs/language-tour.md) for quick overview.
You may also read [The Big One](tests/fixtures/the_big_one.cbn).
If you're into that, here is the [Grammar](docs/grammar.md).
This is how CarbonScript looks and feels like:
```coffee
print("hello, world\n")func hello()
return "hello"const foo = 42
var bar = 3if (foo > bar)
bar = 7
else if (foo < bar)
bar = 1.618
else
bar = 108while (true)
for (var i in [1..10:1])
print(i)
break
```## Roadmap
- Iterables (`[a, b, c]`)
- `for` loops
- Replace unary `!` with `not`.
- Make classes out of LiteralValues.
- Add global scope to Environment.
- Functions
- Classes
- Refactor error handling.
- Standard library (small).
- Python bindings and standard library overrides.
- Resource management/usage limits.
- Refactoring/cleanup
- Optimizations