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

Skip to content

Add Forth constants: BIN and FORTH-WORDLIST. - #2

Open
larsbrinkhoff wants to merge 1 commit into
textmate:masterfrom
larsbrinkhoff:constants
Open

Add Forth constants: BIN and FORTH-WORDLIST.#2
larsbrinkhoff wants to merge 1 commit into
textmate:masterfrom
larsbrinkhoff:constants

Conversation

@larsbrinkhoff

Copy link
Copy Markdown

@larsbrinkhoff

Copy link
Copy Markdown
Author

Ping @infininight!

@infininight

Copy link
Copy Markdown
Member

Can you provide some documentation for this change? The forth grammar isn't something I've really looked at before so I'm not aware if a language spec exists or if this is one of those languages with varied interpretations of the spec depending on the compiler.

@larsbrinkhoff

Copy link
Copy Markdown
Author

@infininight

Copy link
Copy Markdown
Member

Looking at those two pages there are a whole lot of similar items in the sidebar, the grammar doesn't match the majority of them. Is there are reason these two are should be called out?

@larsbrinkhoff

Copy link
Copy Markdown
Author

Those two are the only constants in the Forth 1994 standard that are missing from the grammar. Most other words in the sidebar are not constants. R/W, R/O, and W/O are constants, but they are already part of the grammar. I think S" and ( are also covered. The other words doesn't seem to need special treatment.

I provided links to the 2012 standard. I haven't checked which new words it adds.

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