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

Docs #3

Closed
4 of 6 tasks
booniepepper opened this issue Jul 12, 2023 · 6 comments
Closed
4 of 6 tasks

Docs #3

booniepepper opened this issue Jul 12, 2023 · 6 comments

Comments

@booniepepper
Copy link
Collaborator

booniepepper commented Jul 12, 2023

Create issues for each of these:

@dantecatalfamo
Copy link
Contributor

dantecatalfamo commented Jul 13, 2023

How many arguments do the functions from the standard library take? Most of the word signatures have the type ( -- ), but my understanding is that the forth word notation lists the things taken off of the stack before the double dash and then the things added to the stack after the double dash.

@dantecatalfamo
Copy link
Contributor

dantecatalfamo commented Jul 13, 2023

Oh I see they're defined in src/builtins.zig, the notation is just missing on the https://dt.plumbing/stdlib.html page

@booniepepper
Copy link
Collaborator Author

booniepepper commented Jul 13, 2023

Thanks for taking a look!

On the subject of stack effects...

I need to make sure it's being rendered well, and also explain the stack effect syntax

Also just generally think through how to represent "do" and friends, which can have arbitrary effects

@booniepepper
Copy link
Collaborator Author

Oh... I didn't html-escape elements like <a>!

@booniepepper
Copy link
Collaborator Author

Taking shape little-by-little at https://dt.plumbing/user-guide/

@booniepepper
Copy link
Collaborator Author

I'm pretty good with where the user guide is at now. It's still early but it's enough for someone to make sense of the basics.

Opened issues for the points that were left un-done.

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

No branches or pull requests

2 participants