Title: extending python syntax, possible to implement an import hook? · RustPython/RustPython · Discussion #5043 · GitHub
Open Graph Title: extending python syntax, possible to implement an import hook? · RustPython/RustPython · Discussion #5043
X Title: extending python syntax, possible to implement an import hook? · RustPython/RustPython · Discussion #5043
Description: extending python syntax, possible to implement an import hook?
Open Graph Description: Hello, I want to use rustpython as my scripting engine, but with some simple syntax extension. I want to do it with a preprocessor, so that I don't need to modify rustpython's parser. I can ask use...
X Description: Hello, I want to use rustpython as my scripting engine, but with some simple syntax extension. I want to do it with a preprocessor, so that I don't need to modify rustpython's parser. I can...
Opengraph URL: https://github.com/RustPython/RustPython/discussions/5043
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/discussions/:number(.:format) |
| route-controller | discussions |
| route-action | show |
| fetch-nonce | v2:612bf787-1141-f286-6a03-f6cce065d2f6 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | AFB6:3987B4:3407DEA:44D0D2E:696487F9 |
| html-safe-nonce | d3241a53a01fa2b3563c2d7dbf5dec53d32979d609ac147b3cc3298160101a65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkI2OjM5ODdCNDozNDA3REVBOjQ0RDBEMkU6Njk2NDg3RjkiLCJ2aXNpdG9yX2lkIjoiNDg4MDk1NjkyMDM0OTEwMDAyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 063c2af6c7922331b930364849007c9e29c4d36721040f4ce6b2024f005d57ac |
| hovercard-subject-tag | discussion:5548440 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/discussions/5043 |
| twitter:image | https://opengraph.githubassets.com/55932d16545eccb40cd7d7d8af5807dfcae0bde198cf0ce95f49666fd70d8881/RustPython/RustPython/discussions/5043 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55932d16545eccb40cd7d7d8af5807dfcae0bde198cf0ce95f49666fd70d8881/RustPython/RustPython/discussions/5043 |
| og:image:alt | Hello, I want to use rustpython as my scripting engine, but with some simple syntax extension. I want to do it with a preprocessor, so that I don't need to modify rustpython's parser. I can ask use... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width