Giter Site home page Giter Site logo

Add support for ES6 Unicode about regulex HOT 4 OPEN

cjex avatar cjex commented on May 20, 2024
Add support for ES6 Unicode

from regulex.

Comments (4)

pouyakary avatar pouyakary commented on May 20, 2024

before I start

@JexCheng hi!
First of all we owe you a super big thanks. We're making a visual language that compiles to RegEx in order to make it more clean to write complex regexp. And we had to write a reverse compiler to compile back regexp into my language. In that project we extensively used Regulex's parser. (we also have a TypeScript deceleration file for regulex that I'm working on and will soon contribute it back to you). So we wanted to say thank for you awesome parser. We tried many projects and none of them had an AST better than yours, without your parser we had to go so much more far to have it.

\p{ .. } / \P{ ... } are not supported in Regulex

As in RegExp Unicode Property Escapes by TC39 there are now some more Unicode sets that you can add with \p{ .. } and exclude with \P{ ... }:

/\p{Decimal_Number}/u

There are some good documentations here. As we are now heavily dependent on Regulex's parser we want to invest on it. If you like we like to contribute back. So we like to handle this. Just we would love to know how you like the AST structure for this new elements to be.

from regulex.

CJex avatar CJex commented on May 20, 2024

@pmkary This project will be fully rewrited in another compile to js X language(but keep AST compatible), so currently these features would not be made in this version.

from regulex.

pouyakary avatar pouyakary commented on May 20, 2024

Thank you. So I think we have to fork the project. Looking forward towards your new compiler.

from regulex.

PeterlitsZo avatar PeterlitsZo commented on May 20, 2024

How about now 👀

from regulex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.