Avatar
omochimetaru 3/4/2025 2:06 AM
lazy_parsing.swift はなんかマクロ処理の複雑なことをやってるんじゃないですかね
2:06 AM
シンプルなやつを探すと良さそう (edited)
2:09 AM
The Swift Programming Language. Contribute to swiftlang/swift development by creating an account on GitHub.
2:09 AM
// RUN: %host-build-swift -swift-version 5 -emit-library -o %t/%target-library-name(MacroDefinition) -module-name=MacroDefinition %S/Inputs/syntax_macro_definitions.swift -g -no-toolchain-stdlib-rpath
🙏🏻 1
2:10 AM
↑これがマクロ実装をビルドするコマンドラインだと思う
2:10 AM
The Swift Programming Language. Contribute to swiftlang/swift development by creating an account on GitHub.