-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.2.0 development branch #653
Conversation
…ng macros behaved versus LP
…ealized how to tackle
…xed the parser to fully parse std/root.ln
…an easier-to-use set of structures to determine relationships, resolve interfaces/generics/etc
…s now at the minimum viable representation to transpile a hello world program
… the import logic (doesn't handle 'import ./some/folder' syntax yet, only 'import ./some/file.ln')
To answer this:
First, it is possible to write a Rust program that embeds the Rust compiler in it, with the Unfortunately, using it this way has an unstable API, while the CLI interface is stable. It appears that damocles@elack:~/.cargo/bin$ sha256sum cargo
0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db cargo
damocles@elack:~/.cargo/bin$ sha256sum cargo-fmt
0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db cargo-fmt
damocles@elack:~/.cargo/bin$ sha256sum rustc
0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db rustc
damocles@elack:~/.cargo/bin$ sha256sum rustfmt
0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db rustfmt
damocles@elack:~/.cargo/bin$ So, embedding The binary appears to include everything it needs (there's only a |
Hmm... So that was very wrong. The actual path to the binaries is elsewhere, on my machine at I suspect using the For now I will mark the task as complete and simply rely on |
…es and functions as Alan types and functions. I like that Rust forced me to implement the 'match' branches to support these additions properly.
…rked but not dropped
…the experimental standard library files, and a minor tweak to the README
…em as a big comment, and convert the clone test
…d into the new Rust codebase
Before merging this, I'm going to update the various markdown files, but that can wait for tomorrow. |
This will be a long-standing branch that 0.2.0 development work will go under.
Tasks for 0.2.0
rustc
intoalan
to compile without an external Rust toolchainTasks after 0.2.0
Once the above is implemented, this branch will be merged. Other goals that will follow 0.2.0 include: