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

Introduce the term "lexeme" #16

Open
ruv opened this issue Nov 12, 2024 · 1 comment
Open

Introduce the term "lexeme" #16

ruv opened this issue Nov 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ruv
Copy link
Collaborator

ruv commented Nov 12, 2024

One example where using the term "lexeme" makes the wording much clearer is in the section 8.3.1:

  • When the text interpreter processes a number a lexeme, except a <cnum>, that is immediately followed by a decimal point and is not found as a definition name, the text interpreter shall convert it to a double-cell number.

(See also the source issue)

Update. This can be formulated even better:

  • When the text interpreter processes a number a lexeme , except a <cnum>, that is immediately followed by that ends with a decimal point and is not found as a definition name, the text interpreter shall convert it to a double-cell number.

@ruv ruv added the enhancement New feature or request label Nov 12, 2024
@SirWumpus
Copy link

SirWumpus commented Nov 12, 2024

In a new issue you should probably also suggest adding a secondary example concerning double-cell input to make more clear some of the expected behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants