Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
multikernel
/
kernelscript
Public
Notifications
You must be signed in to change notification settings
Fork
24
Star
505
Code
Issues
2
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add
if (var x = expr)
and
map[k].field op= rhs
- #19
#19
Merged
congwang-mk
merged 9 commits into
main
multikernel/kernelscript:main
from
iflet-and-map-field-compound
multikernel/kernelscript:iflet-and-map-field-compound
Copy head branch name to clipboard
May 8, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Add
if (var x = expr)
and
map[k].field op= rhs
#19
congwang-mk
merged 9 commits into
main
multikernel/kernelscript:main
from
iflet-and-map-field-compound
multikernel/kernelscript:iflet-and-map-field-compound
Copy head branch name to clipboard
Commits
Commits on May 5, 2026
feat: add `if (var x = expr)` declaration-as-condition
Show description for e4f979c
congwang-mk
committed
e4f979c
View commit details
Copy full SHA for e4f979c
Browse repository at this point
feat: add `map[key].field op= rhs` compound assignment
Show description for 62b1cc7
congwang-mk
committed
62b1cc7
View commit details
Copy full SHA for 62b1cc7
Browse repository at this point
docs(examples): adopt elegant `if (var x = m[k])` idiom in map demos
Show description for ca701a7
congwang-mk
committed
ca701a7
View commit details
Copy full SHA for ca701a7
Browse repository at this point
docs: document `if (var x = expr)` and `m[k].field op= rhs` in README and SPEC
Show description for 7044637
congwang-mk
committed
7044637
View commit details
Copy full SHA for 7044637
Browse repository at this point
test: lock in Phase 1 IfLet and Phase 2 codegen behaviour
Show description for 814e336
congwang-mk
committed
814e336
View commit details
Copy full SHA for 814e336
Browse repository at this point
feat: drop `none` literal in favour of `null`
Show description for e0ddcd9
congwang-mk
committed
e0ddcd9
View commit details
Copy full SHA for e0ddcd9
Browse repository at this point
docs(examples,README,SPEC): adopt `if (var x = expr)` for remaining presence checks
Show description for d5f25c1
congwang-mk
committed
d5f25c1
View commit details
Copy full SHA for d5f25c1
Browse repository at this point
Commits on May 6, 2026
fix(ir-gen): scope IfLet binding to its then-branch via alias table
Show description for ccd2324
congwang-mk
committed
ccd2324
View commit details
Copy full SHA for ccd2324
Browse repository at this point
fix(type-checker): restrict `if (var x = expr)` RHS to presence-producing exprs
Show description for 198fe92
congwang-mk
committed
198fe92
View commit details
Copy full SHA for 198fe92
Browse repository at this point
You can’t perform that action at this time.