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

Built-in SDD hooks #133

Open
dekarrin opened this issue May 22, 2023 · 0 comments
Open

Built-in SDD hooks #133

dekarrin opened this issue May 22, 2023 · 0 comments
Labels
FISHI Changes to the FISHI language

Comments

@dekarrin
Copy link
Owner

FISHI should provide built-in implementations for commonly-used SDD hooks. These would be of the following type:

  • Produce a constant value with no arguments, somefin like %const "the const" for the hook, where the value of const is any valid value to be interpreted in Go.
  • The identity value. Easily implemented as simple as %ident attr-ref, but would be ideal to simply allow omission of the actual hook function and if it is instead an AttrRef, assume it is identity (such as {^}.value = {1}.$text.
@dekarrin dekarrin added the FISHI Changes to the FISHI language label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FISHI Changes to the FISHI language
Projects
None yet
Development

No branches or pull requests

1 participant