Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S sweet-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sweet-js
  • sweet-core
  • Wiki
  • Syntax Case

Syntax Case · Changes

Page history
Updated Syntax Case (markdown) authored Aug 28, 2013 by Tim Disney's avatar Tim Disney
Show whitespace changes
Inline Side-by-side
Syntax-Case.md
View page @ a084db30
......@@ -18,6 +18,7 @@ Changes from old design:
* Also the macro name is being matched as the first pattern and the wildcard pattern `_` has been added so you can ignore it if you want.
* The template form `#{...}` has been added. Any bound pattern variables that are in scope are replaced with their match.
* Cases are matched in-order. Previously they were being matched by length first.
* The `...` pattern now matches zero or more. Previously it was one or more.
# Primitives
......
Clone repository
  • Example macros
  • FAQ
  • High level design overview
  • Home
  • Macro resources
  • Patterns
  • Syntax Case
  • case api
  • custom operators
  • design
  • expander design
  • modules
  • node loader
  • pattern_class
  • reader scratch
View All Pages