[swift-evolution] Proposal: Introduce User-defined "Dynamic Member Lookup" Types
Rick Mann
rmann at latencyzero.com
Mon Dec 4 15:52:24 CST 2017
> On Dec 3, 2017, at 08:33 , Michel Fortin via swift-evolution <swift-evolution at swift.org> wrote:
>
> Instead of looking for a module in the _module search path_, the compiler would run a command-line tool called `py2swift` found in an _import tool search path_. The tool generates the module on the fly before returning the module path to the compiler, who can then continue with compiling.
Just a small concern: it should not run a command-line tool (i.e. exec a process). Everything should be library calls, so that the compiler can be embedded in other environments cleanly.
--
Rick Mann
rmann at latencyzero.com
More information about the swift-evolution
mailing list