Bring Prelude into Rust #13

Open
opened 2024-12-08 06:39:43 +00:00 by scott · 3 comments
Owner

Prelude should be parsable and runnable with the Rust interpreter. This will likely require changes in Prelude itself, but not so many. Use rust-embed to embed Prelude in Rust.

  • pkg -> dict
  • fix any errors
  • Ludus dict -> context vector
  • test things?
Prelude should be parsable and runnable with the Rust interpreter. This will likely require changes in Prelude itself, but not so many. Use `rust-embed` to embed Prelude in Rust. * [x] pkg -> dict * [x] fix any errors * [x] Ludus dict -> context vector * [ ] test things?
scott added the
core
label 2024-12-08 06:39:48 +00:00
Author
Owner

Currently getting unbound name base when running functions that rely on base (which is to say, just about every function in Prelude). But apparently at least some of this is working...?

Currently getting `unbound name base` when running functions that rely on `base` (which is to say, just about every function in Prelude). But apparently at least some of this is working...?
scott added a new dependency 2024-12-11 05:32:22 +00:00
scott added a new dependency 2024-12-11 05:32:55 +00:00
scott added this to the Minimal replacement for Janet-based Ludus milestone 2024-12-11 05:36:14 +00:00
Author
Owner

Fixed a few errors, and it's looking like at least we parse and validate prelude reasonably correctly.

Next step: start testing against the Prelude. Found one bug already.

Fixed a few errors, and it's looking like at least we parse and validate prelude reasonably correctly. Next step: start testing against the Prelude. Found one bug already.
scott added a new dependency 2024-12-13 00:44:57 +00:00
Author
Owner

Partial function application is indeed in Prelude, so adding #15 as a dependency.

Partial function application is indeed in Prelude, so adding #15 as a dependency.
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: scott/rudus#13
No description provided.