Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
tw-ilson committed Nov 29, 2024
2 parents b12e449 + 9a291d3 commit 81d4420
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ludi
This is 'Ludi' an experimental programming language.It is focused on arrays, and has a number of basic features that you can play around with in the interpreter.
This is 'Ludi' an experimental programming language. Inspired by APL, it is focused on multidimensional arrays, and has a number of basic features that you can play around with in the interpreter. I am logging and documenting the developement at [twilson.xyz](https://twilson.xyz/post)

## Example
```
> let x = [4 3 2];
> let y = 5;
Expand All @@ -14,8 +15,19 @@ This is 'Ludi' an experimental programming language.It is focused on arrays, and
5 6
7 8
```

With a standard Rust toolchain it can be built and run:
## Usage
With a standard Rust toolchain it the interpreter can be built and run:
```
cargo run -p interpreter
```

## Current Goals & Progress
- [ ] Interpreter (80%)
- [ ] Type checking (75%)
- [ ] Code generation (50%)
- [ ] Optimizations (10%)

## Dependencies
- Rust 2021 edition
- [LLVM 18 and MLIR](https://llvm.org) via the [`melior`](https://github.com/raviqqe/melior) crate
- It is recommended that you clone & build `melior` in the same directory as you put this one

0 comments on commit 81d4420

Please sign in to comment.