Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't ssupport ~........... escaping syntax #192

Closed
yotam-eshel opened this issue Feb 17, 2014 · 2 comments
Closed

Doesn't ssupport ~........... escaping syntax #192

yotam-eshel opened this issue Feb 17, 2014 · 2 comments

Comments

@yotam-eshel
Copy link

This kind of syntax is used extensively in lesshat (http://lesshat.com/), therefore lesshat doesn't compile on less4j

@SomMeri
Copy link
Owner

SomMeri commented Mar 24, 2014

This is going to be possible using custom functions https://github.com/SomMeri/less4j/wiki/Extending-Less-Language which are already implemented, but do not support ~... and ... syntaxes.

Starting with next release:

  • ~... will be treated as function named ~`
  • ... will be treated as function named `

The advantage is that anyone will be able to implement them however he likes and use any language he finds useful.

I'm not sure whether or when I will create "official" javascript implementation, but anyone will be able to do so. In any case, it will be stored in separate repository. I do not want less4j to depend on Rhino or other javascript runtime, because only some projects will use it.

@SomMeri
Copy link
Owner

SomMeri commented Mar 24, 2014

I will close this as duplicate of #22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants