Comments (8)
This adds functionality for script and style. #17
from slang.
@elorest Thanks for your help with this, good work!
from slang.
Ah, good catch. Looks like I foresaw the issue, but forgot to implement it.
I'm assuming it's a quick fix, one conditional somewhere. I don't have time to get into that context right now though.
Feel free to give it a try or I'll probably come around to doing it in a little while.
from slang.
I gave it a try, new to crystal and never wrote a template engine. Got a bit stuck. Looks like a may need to create another node type, but not sure. Any hints would be appreciated.
Thanks.
from slang.
Any update on this?
from slang.
@elorest not presently. I'm not actively using this library and have little time to work on OSS at the moment.
Although not necessary for this specific issue: I'd like to rewrite this library using a parser/lexer generator (like https://github.com/ziprandom/cltk), if I can find a good one.
In any case, if anybody wants to try and fix this issue, they are welcome to do so.
@crisward do you remember what error you got? @elorest have you gotten a compile error as well? If so, which one?
from slang.
I'm compiling ok. I'll look into adding this.
from slang.
That is indeed now fixed, thanks to @elorest.
Available in v1.5.0
from slang.
Related Issues (20)
- Windows end of line can give issues HOT 2
- slang with strings? HOT 2
- Can't find file "secure_random" HOT 1
- Incorrect parse of attribute value causes error HOT 1
- Can we see Slang adding JSON building (feature suggestion). HOT 5
- Add HTML entity support to Slang HOT 2
- Allow unescaped interpolation HOT 2
- Minify HTML output
- Multiline attributes inside an attribute wrapper
- Embedded HTML with double quoted attributes breaks interpreter
- Question: HTML HOT 1
- Backslash handling HOT 1
- What about HTML Boolean Attributes? HOT 1
- How to do ternary conditional statement? HOT 1
- Convert .html file to .slang file HOT 1
- Use of conditionals HOT 3
- Kilt dependency and Kemal HOT 3
- Compile Time or Runtime? HOT 1
- Render variable content as unescaped HTML HOT 1
- Cannot build docs HOT 1
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 slang.