Comments (3)
Indeed, there are lots of potential improvements around the syntax here. Did you perhaps have a chance to look at the rationale for comby sytnax?
after the match identifier.
In general I think this is a good idea. One thing I've observed after experimenting with syntax here is that adding lots of things right after the identifier (like POSIX character classes) tends to reduce readability. But perhaps that is unavoidable for "advanced filters", and an acceptable tradeoff.
- Character class
Yes, as you can see in the document I link above, the idea was to support something close to character classes. It gets problematic to support the full spectrum of character classes without break the well-formedness of balanced delimiters.
- Regular expression
Similar to above, and I give some examples about why supporting regular expression matching with holes is problematic in the document. A solution isn't yet clear to me how to handle handle those complexities.
- Predefined constraint
I think that's a neat idea! And it does not raise the same issues as the above two. It'd be nice to think more about how this could work.
from comby.
Comby now supports regular expressions which takes care of a lot of lexical matching/customization, and this solution seems to work for those cases.
from comby.
Thanks for your software extensions.
How will the corresponding documentation evolve further?
from comby.
Related Issues (20)
- builds for arm64 HOT 2
- Only first match is located HOT 1
- Keep getting Exception: (Sys_error "xxxx.swift: Read-only file system
- A match expression followed by a rewrite expression using a named whitespace matcher produces unexpected output
- Difficulties connecting to comby.dev HOT 4
- Support glibc 2.28 HOT 1
- Comby support for OCaml? HOT 3
- Comby Image not supporting configuration files(.TOML) HOT 1
- [non-issue] What's Omega matcher engine? HOT 1
- Unicode character in match template appears to break matching/behaves as wildcard HOT 1
- Case of comby not being compatible with .csproj-file
- Comby doesn't work correctly with a single quote in html HOT 1
- Typescript/Javascript expressions embedded in template strings not recognized
- comby.live is missing version information HOT 2
- A
- A
- Allow specification of `matcher` for patterns in TOML config file HOT 1
- The get-comby.netlify.app script installs an old version of Comby HOT 1
- Ability to drop/modify suffix? HOT 5
- C language is including ';' in expression syntax HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comby.