I was unable to get Sagittarius and Ypsilon to start (this is probably a problem with qemu — I didn’t spend very long on this).
• amend section 2.1 to reflect section 7.1.1’s rule, e.g.: ‘An identifier is any sequence of letters, digits, and “extended identifier characters” provided that it is not a valid number.’ (This change also causes problems because it makes e.g. a token which starts with a digit but cannot be parsed as a number an identifier, against the clear intention of the original versions of both sections.)
1+
and -1+
, which are procedures which increment and decrement by one, respectively. There are other ways to make them legal, but this rule is the simplest to state. We could then simplify the grammar for identifier, dropping the whole peculiar identifier subtree.--
You received this message because you are subscribed to the Google Groups "scheme-reports-wg1" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheme-reports-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scheme-reports-wg1/CALnw4LJdto-%2BLzJETs4n9WFb-f8gyaRjzgLM%3DmEaoL_%3DQ38K3Q%40mail.gmail.com.
That's a rather large change and loses the spirit of the original rule, which is to leave room for implementation-specific extensions to the number syntax (e.g. octonions, algebraic numbers, Conway arrow notation, unit suffixes, etc).
On Mon, Feb 12, 2024, at 6:25 PM, Arthur A. Gleckler wrote:On Mon, Feb 12, 2024, 2:04 PM Alex Shinn <alex...@gmail.com> wrote:That's a rather large change and loses the spirit of the original rule, which is to leave room for implementation-specific extensions to the number syntax (e.g. octonions, algebraic numbers, Conway arrow notation, unit suffixes, etc).I welcome an alternative that admits 1+ and -1+ and similar identifiers without preventing such extensions to numeric constants.I think this is going to be quite difficult. I don't even know if it would be possible to have a situation in which we can ensure that all valid identifiers don't suddenly become numbers in some implementation where numbers are extended. Is this okay?
Maybe it's fine to say that identifiers may suddenly become numbers in some extended implementations? If we do that, maybe there is something that can be done to ensure that at least some subset of identifiers can never become numbers?I have no answers here.--
--
You received this message because you are subscribed to the Google Groups "scheme-reports-wg1" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheme-reports-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scheme-reports-wg1/8a7235aa-c0d2-4e6a-b965-57d3cca235e6%40app.fastmail.com.
--
You received this message because you are subscribed to the Google Groups "scheme-reports-wg1" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheme-reports-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scheme-reports-wg1/D1A03E0E-FA62-4E78-956C-E555DB140198%40nonceword.org.