Skip to content
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

Update anoma nock stdlib to include resource machine client library #3110

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented Oct 18, 2024

⚠️ There's a big diff because stdlib.nockma is now exported from Anoma with no line-breaks.

The nock stdlib code was obtained from anoma release v0.24.1. The nock stdlib now contains the resource machine client library.

https://github.com/anoma/anoma/blob/a20b5e78380b4dcf554fda6f4c75758cc1b70063

using the Elixir interactive prompt in the root of a clone of Anoma.

iex -S mix
iex(1)> File.write("./stdlib.nockma", Nock.rm_core |> Noun.Format.print)

I've added these instructions for updating the stdlib.nockma file in a README.md.

The nock cells in StdlibFunction.hs were obtained in the urbit dojo using:

https://github.com/anoma/anoma/blob/a20b5e78380b4dcf554fda6f4c75758cc1b70063/hoon/anoma.hoon
https://github.com/anoma/anoma/blob/a20b5e78380b4dcf554fda6f4c75758cc1b70063/hoon/resource-machine.hoon

@paulcadman paulcadman added this to the 0.6.7 milestone Oct 18, 2024
@paulcadman paulcadman self-assigned this Oct 18, 2024
@paulcadman paulcadman changed the title Update anoma nock stdlib Update anoma nock stdlib to include resource machine client library Oct 18, 2024
@paulcadman paulcadman requested a review from lukaszcz October 18, 2024 14:31
@paulcadman paulcadman force-pushed the nockma-update-stdlib branch from 39434a0 to d84d543 Compare October 18, 2024 14:34
@paulcadman paulcadman force-pushed the nockma-update-stdlib branch from d84d543 to 9264a19 Compare October 18, 2024 14:36
@paulcadman paulcadman merged commit c238429 into main Oct 18, 2024
4 checks passed
@paulcadman paulcadman deleted the nockma-update-stdlib branch October 18, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants