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

specify what a go tag is #42

Open
moon-chilled opened this issue Mar 23, 2024 · 1 comment
Open

specify what a go tag is #42

moon-chilled opened this issue Mar 23, 2024 · 1 comment

Comments

@moon-chilled
Copy link
Contributor

Spec sez:

The determination of which elements of the body are tags and which are statements is made prior to any macro expansion of that element

But not, afaict, how it is determined whether something is a tag or not. Glossary sez:

go tag n. the symbol or integer that, within the lexical scope of a tagbody form, names an exit point established by that tagbody form

So, presumably, an element is a tag iff it is a symbol or integer. But this should be specified in the definition of tagbody itself, not just in the glossary.

@Bike
Copy link
Member

Bike commented Mar 27, 2024

The tagbody page describes tags as "go tag"s with a link to the glossary in its Arguments and Values. I think that's sufficient. I mean, analogously the defun page does not itself explicitly state what a function name is.

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