Bring Prelude into Rust #13

Closed
opened 2024-12-08 06:39:43 +00:00 by scott · 4 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 Core: CC2 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.
Author
Owner

Done. Still needs testing, I'm sure there are subtle bugs hidden in prelude.

Done. Still needs testing, I'm sure there are subtle bugs hidden in prelude.
scott closed this issue 2025-07-02 17:05:52 +00:00
Sign in to join this conversation.
No Milestone
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: twc/rudus#13
No description provided.