Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mopfel-winrux
Copy link
Collaborator

I added the ability for the user pick two flags to pass to the eval subroutine.

The first is the -j flag. This takes the result from the inputted hoon code , +jam's it and outputs it as a hexadecimal string.

The second is the -jk flag. This takes the result from the inputted hoon code, +jam's it and outputs the noun wrapped in the proper %khan header (leading zero, noun size, noun) as binary data.

The proper use of the eval is as follows:
echo "(add 2 2)" | urbit eval -jk > test.jam

This should be the easiest way to +jam a noun for %khan use

@zalberico zalberico requested a review from joemfb November 8, 2022 17:41
@jalehman
Copy link
Collaborator

jalehman commented Feb 3, 2023

Closing this because it's targeting the wrong repo. A new PR has been created.

@jalehman jalehman closed this Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants