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

Add execute_generator() API #6771

Merged
merged 1 commit into from
May 23, 2022
Merged

Add execute_generator() API #6771

merged 1 commit into from
May 23, 2022

Commits on May 18, 2022

  1. Add execute_generator() API

    This refactors the existing `generate_filter_main()` call in two, moving the interesting implementation of how to drive AOT into the new `execute_generator()` call (reducing `generate_filter_main()` to parsing argc/argv and error reporting).
    
    The new `execute_generator()` is intended to be used (eventually) from Python, as a way to drive Generator compilation from a Python script more easily. The PR doesn't provide a Python wrapper for this call yet (that will come in a subsequent PR).
    
    Also, a drive-by removal of the "error_output" arg to generate_filter_main() -- AFAICT, no one has ever used it for anything but stderr, and the refactoring now just directs all errors to `user_error` uniformly.
    steven-johnson committed May 18, 2022
    Configuration menu
    Copy the full SHA
    f7ba848 View commit details
    Browse the repository at this point in the history