aroberge / ideas

Easy creation of custom import hooks to experiment on alternatives to Python's syntax; see https://aroberge.github.io/ideas/docs/html/
Other
76 stars 5 forks source link

Add parse_source hook and polish_expr example. #44

Closed djpohly closed 1 year ago

djpohly commented 1 year ago

Related to #15 and #28.

Adds a parse_source hook for customizing the source-to-AST process, along with an example parser for expressions written in Polish/prefix notation and corresponding test.

aroberge commented 1 year ago

Than you very much for your contribution, and sorry for not following up sooner. I've been taking a break from programming.

djpohly commented 1 year ago

As we all have to do sometimes! Welcome back. :)