]> gitweb.factorcode.org Git - factor.git/commit
syntax: change STARTUP-HOOK: and SHUTDOWN-HOOK:
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 25 Jan 2022 17:32:10 +0000 (09:32 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 25 Jan 2022 17:32:10 +0000 (09:32 -0800)
commitf0990505f248a9a3ed04824033e2bf82737a076d
treec926064750fcd6aad26ae354863df1ae549518cc
parent2265297f78fb9c3e9694830515da64befa9b1025
syntax: change STARTUP-HOOK: and SHUTDOWN-HOOK:

instead of parse-definition:

    STARTUP-HOOK: ... ;

we parse a startup-word or a quotation:

    STARTUP-HOOK: do-startup

    STARTUP-HOOK: [ do-startup ]

this is somewhat experimental syntax and we might change it further
core/syntax/syntax.factor