René's URL Explorer Experiment


Title: feat: Add SWC plugin implementation for engine syntax by devloai[bot] · Pull Request #149 · code11/engine · GitHub

Open Graph Title: feat: Add SWC plugin implementation for engine syntax by devloai[bot] · Pull Request #149 · code11/engine

X Title: feat: Add SWC plugin implementation for engine syntax by devloai[bot] · Pull Request #149 · code11/engine

Description: This PR adds a new SWC plugin package that ports the functionality of engine.babel-plugin-syntax to Rust using SWC's plugin system. Changes Created new package @c11/engine.swc-plugin-syntax Implemented core visitor functionality for processing type annotations Added file output functionality matching Babel plugin behavior Added documentation and examples Set up package configuration for npm and cargo Implementation Notes Uses SWC's visitor pattern for AST manipulation Matches Babel plugin's output format exactly Written in Rust for better performance Configured for wasm32-wasi target Next Steps Set up CI/CD pipeline for the new package Conduct thorough testing with Rust toolchain Perform performance comparison with Babel plugin Follow-up suggestions "@devloai add CI workflow for building and testing the SWC plugin" "@devloai add performance benchmarks comparing SWC vs Babel plugins" "@devloai add integration examples with common build tools (webpack, vite, etc)"

Open Graph Description: This PR adds a new SWC plugin package that ports the functionality of engine.babel-plugin-syntax to Rust using SWC's plugin system. Changes Created new package @c11/engine.swc-plugin-syntax Im...

X Description: This PR adds a new SWC plugin package that ports the functionality of engine.babel-plugin-syntax to Rust using SWC's plugin system. Changes Created new package @c11/engine.swc-plugin-synta...

Opengraph URL: https://github.com/code11/engine/pull/149

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:85f19ef0-2459-180e-1ec7-a9afeb221667
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB5A0:176213:62C1DA:80DD4E:6990A4E1
html-safe-nonce7c7fc32c795032a0cb199337a5bfb20cd438dc217bcfc9939636becd6ade95b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUEwOjE3NjIxMzo2MkMxREE6ODBERDRFOjY5OTBBNEUxIiwidmlzaXRvcl9pZCI6IjUxNDQ1MTI2MzYzNzM3Mzg3MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac38ff2ec0eb97042e3227dd69c48c609bcbccb69343d5b8083bdd44ae7c1b76f3
hovercard-subject-tagpull_request:2349552007
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/code11/engine/pull/149/files
twitter:imagehttps://avatars.githubusercontent.com/in/886113?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/886113?s=400&v=4
og:image:altThis PR adds a new SWC plugin package that ports the functionality of engine.babel-plugin-syntax to Rust using SWC's plugin system. Changes Created new package @c11/engine.swc-plugin-syntax Im...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/code11/engine git https://github.com/code11/engine.git
octolytics-dimension-user_id3459120
octolytics-dimension-user_logincode11
octolytics-dimension-repository_id255651675
octolytics-dimension-repository_nwocode11/engine
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id255651675
octolytics-dimension-repository_network_root_nwocode11/engine
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcode11%2Fengine%2Fpull%2F149%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcode11%2Fengine%2Fpull%2F149%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=code11%2Fengine
Reloadhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
Reloadhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
Reloadhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
code11 https://patch-diff.githubusercontent.com/code11
enginehttps://patch-diff.githubusercontent.com/code11/engine
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcode11%2Fengine
Fork 11 https://patch-diff.githubusercontent.com/login?return_to=%2Fcode11%2Fengine
Star 9 https://patch-diff.githubusercontent.com/login?return_to=%2Fcode11%2Fengine
Code https://patch-diff.githubusercontent.com/code11/engine
Issues 36 https://patch-diff.githubusercontent.com/code11/engine/issues
Pull requests 6 https://patch-diff.githubusercontent.com/code11/engine/pulls
Discussions https://patch-diff.githubusercontent.com/code11/engine/discussions
Actions https://patch-diff.githubusercontent.com/code11/engine/actions
Models https://patch-diff.githubusercontent.com/code11/engine/models
Wiki https://patch-diff.githubusercontent.com/code11/engine/wiki
Security 0 https://patch-diff.githubusercontent.com/code11/engine/security
Insights https://patch-diff.githubusercontent.com/code11/engine/pulse
Code https://patch-diff.githubusercontent.com/code11/engine
Issues https://patch-diff.githubusercontent.com/code11/engine/issues
Pull requests https://patch-diff.githubusercontent.com/code11/engine/pulls
Discussions https://patch-diff.githubusercontent.com/code11/engine/discussions
Actions https://patch-diff.githubusercontent.com/code11/engine/actions
Models https://patch-diff.githubusercontent.com/code11/engine/models
Wiki https://patch-diff.githubusercontent.com/code11/engine/wiki
Security https://patch-diff.githubusercontent.com/code11/engine/security
Insights https://patch-diff.githubusercontent.com/code11/engine/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fcode11%2Fengine%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fcode11%2Fengine%2Fissues%2Fnew%2Fchoose
devloaihttps://patch-diff.githubusercontent.com/apps/devloai
masterhttps://patch-diff.githubusercontent.com/code11/engine/tree/master
feature/swc-plugin-syntax-8843https://patch-diff.githubusercontent.com/code11/engine/tree/feature/swc-plugin-syntax-8843
Conversation 4 https://patch-diff.githubusercontent.com/code11/engine/pull/149
Commits 2 https://patch-diff.githubusercontent.com/code11/engine/pull/149/commits
Checks 4 https://patch-diff.githubusercontent.com/code11/engine/pull/149/checks
Files changed https://patch-diff.githubusercontent.com/code11/engine/pull/149/files
Please reload this pagehttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
feat: Add SWC plugin implementation for engine syntax https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/code11/engine/pull/149/files
8b76ff4 feat: Add SWC plugin implementation for engine syntax devloai[bot] Feb 21, 2025 https://patch-diff.githubusercontent.com/code11/engine/pull/149/commits/8b76ff44fbaa6215f0619152db64608a236002e8
d488517 ci: Add SWC plugin CI workflow and update existing CI configuration devloai[bot] Feb 21, 2025 https://patch-diff.githubusercontent.com/code11/engine/pull/149/commits/d4885176035329f740ead0e69906356744ff08c7
Clear filters https://patch-diff.githubusercontent.com/code11/engine/pull/149/files
Please reload this pagehttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
Please reload this pagehttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
ci.yml https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
swc-plugin.yml https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-794fb8869685bdf3bc8de5e1eaf0b383ee71b7ce3242e23bf7c8f3713b7cc2ff
README.md https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
CHANGELOG.md https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-6d932b9adbf7b2d860f14d6dd2f16a8c919291aa66f5578ad9eebcf9a316ca6b
Cargo.toml https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-5bde650ce122ed557108849884f80e9a0cadd8fed123d7245d827a4d7b722f55
README.md https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-d2cc0dcc78762ef2d946151313b5cdfae3c7f3401ee7f3e7685eb7cfda9051dd
basic-usage.ts https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-db852de5b17fea743af1b86249ad34d570b4672f1cb67c1556fbbb11f8e8001a
package.json https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-5dcd94928e804ba3a965b3f7ce9c2f30bb40122ddc5ec4ac6034bfd2ce5dc010
lib.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-1aa511d30dbc5f1e4f1966768ad2037d0745b8cc0bb0e634a62ef83a91a32ceb
integration_tests.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-5e2ddbf6b9a6dcd208d78a907f7603f5b931583d498df9483c0cd4533a69856d
lib.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759
output.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-09d11a015056ee12ae0e7394dd9e05f4ddfd74fe3731a632d00fbdf1927b66c3
types.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-ed12f5ea605f23bb4d26cc65778e3daff9db3eec40e2abfc82beafca130a99a0
mod.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-d3df0754141e5e2476f0425ab90722412a0348dec6263b76a9024970e822e816
mod.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-bec67bb48bc02f82bed5800b69d99023bf560debbfe7784cc595eb3a1eab6a62
integration_tests.rs https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-e6b41d2b5ecc7c9a47a8db354ec3916bf8ef2c1cfb29aceb796af5a51a3f22a0
.github/workflows/ci.ymlhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.github/workflows/swc-plugin.ymlhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-794fb8869685bdf3bc8de5e1eaf0b383ee71b7ce3242e23bf7c8f3713b7cc2ff
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/.github/workflows/swc-plugin.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
README.mdhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
packages/engine.swc-plugin-syntax/CHANGELOG.mdhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-6d932b9adbf7b2d860f14d6dd2f16a8c919291aa66f5578ad9eebcf9a316ca6b
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
packages/engine.swc-plugin-syntax/Cargo.tomlhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-5bde650ce122ed557108849884f80e9a0cadd8fed123d7245d827a4d7b722f55
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
packages/engine.swc-plugin-syntax/README.mdhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-d2cc0dcc78762ef2d946151313b5cdfae3c7f3401ee7f3e7685eb7cfda9051dd
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
packages/engine.swc-plugin-syntax/examples/basic-usage.tshttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-db852de5b17fea743af1b86249ad34d570b4672f1cb67c1556fbbb11f8e8001a
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/examples/basic-usage.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
packages/engine.swc-plugin-syntax/package.jsonhttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-5dcd94928e804ba3a965b3f7ce9c2f30bb40122ddc5ec4ac6034bfd2ce5dc010
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
packages/engine.swc-plugin-syntax/src/lib.rshttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-1aa511d30dbc5f1e4f1966768ad2037d0745b8cc0bb0e634a62ef83a91a32ceb
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
packages/engine.swc-plugin-syntax/tests/integration_tests.rshttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files#diff-5e2ddbf6b9a6dcd208d78a907f7603f5b931583d498df9483c0cd4533a69856d
View file https://patch-diff.githubusercontent.com/code11/engine/blob/d4885176035329f740ead0e69906356744ff08c7/packages/engine.swc-plugin-syntax/tests/integration_tests.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/code11/engine/pull/149/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
Please reload this pagehttps://patch-diff.githubusercontent.com/code11/engine/pull/149/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.