GuestLanguageParser
A GuestLanguage feature for parsing Source code in a given PolyglotContext, returning an executable PolyglotValue.
Install an implementation of this interface using a PolyglotContextElement with a key obtained from GuestLanguageParser.contextElementFor, with the target language as identifier, to intercept calls to PolyglotContext.parse.
PolyglotContext implementations will always prefer delegating parsing logic to a GuestLanguageParser for the relevant source if one is registered, falling back to their defaults if none is found.
See also
Functions
Link copied to clipboard
Parse a source in the given context without evaluating it, returning an executable PolyglotValue.