jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.11.1 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
Philpax_ has quit [Ping timeout: 240 seconds]
Sadin has quit [Ping timeout: 240 seconds]
trapped has quit [Read error: Connection reset by peer]
<dome22xl> Maybe you need https://github.com/xjdrew/levent
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
luislavena has quit [Quit: Leaving]
Philpax_ has joined #crystal-lang
pawnbox has joined #crystal-lang
jokke has quit [Quit: WeeChat 1.3]
pawnbox has quit [Ping timeout: 240 seconds]
jokke has joined #crystal-lang
jokke has quit [Client Quit]
jokke has joined #crystal-lang
dome22xl has quit [Read error: Connection reset by peer]
Philpax_ has quit [Ping timeout: 260 seconds]
jokke has quit [Quit: WeeChat 1.3]
jokke has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
elia has quit [Quit: Computer has gone to sleep.]
grindhold_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 245 seconds]
Sadin has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 256 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
iIlL10Oo has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
triangles has quit [Quit: Leaving]
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 250 seconds]
Sadin has quit [Ping timeout: 245 seconds]
fowlduck has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<Davy_CC> emancu: libevent?
<Davy_CC> dome22xl: that's for lua
grindhold has joined #crystal-lang
elia has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 260 seconds]
fowlduck has joined #crystal-lang
trapped has joined #crystal-lang
jokke has quit [Quit: WeeChat 1.3]
jokke has joined #crystal-lang
<emancu> Davy_CC: but installing crystal-lang from homebrew, why should I install another dependency ?
<emancu> i mean, it should install all deps from the beginning
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Sadin has joined #crystal-lang
<emancu> @here is it possible to use nested macros ?
<emancu> of course it is possible =)
fowlduck has quit [Remote host closed the connection]
<emancu> >>puts 4.is_a? Int32
<DeBot> emancu: true - more at https://carc.in/#/r/rfg
<emancu> >>type = Int32; puts 4.is_a? type
<DeBot> emancu: Syntax error in eval:21: expecting token 'CONST', not 'type' - https://carc.in/#/r/rfh
<emancu> i guess i can't dynamically check a type on macros :/
ponga has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 240 seconds]
elia has quit [Quit: Computer has gone to sleep.]
fowlduck has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
luislavena has joined #crystal-lang
dzv has joined #crystal-lang
jeromegn has quit [Ping timeout: 240 seconds]
jeromegn has joined #crystal-lang
<jeromegn> what resources should I check out if I wanted to write a new templating language for Crystal? I looked at the current parser libraries, but I don’t think any will fit my use case. I want to create a template language very similar to https://github.com/slim-template/slim
<jeromegn> I was thinking I’d convert the supplied source template into ECR and then just run that. Seems easiest.
<BlaXpirit> >> typ = Int32; 4.class == typ # emancu
<DeBot> BlaXpirit: # => true - https://carc.in/#/r/rfz
<BlaXpirit> >> typ = Int32; typeof(4) == typ
<DeBot> BlaXpirit: # => true - https://carc.in/#/r/rg0
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
gdd229 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Sadin has quit [Ping timeout: 250 seconds]
elia has joined #crystal-lang
greengriminal has joined #crystal-lang
greengriminal has quit [Client Quit]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
elia has quit [Client Quit]
elia has joined #crystal-lang
Excureo has quit [Ping timeout: 276 seconds]
Excureo has joined #crystal-lang
xAndy| has left #crystal-lang ["bye"]
fowlduck has quit [Remote host closed the connection]
gdd229 has quit [Ping timeout: 260 seconds]
fowlduck has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
luislavena has quit [Quit: Leaving]
<Davy_CC> emancu: I have no idea. When I install 0.9.1, it installed all what i need
<Davy_CC> BlaXpirit: is this a technology limit or just a bug with #is_a?
<BlaXpirit> Davy_CC, is_a? is a compile-time construct
<Davy_CC> oh i see
matp has quit [Ping timeout: 276 seconds]
matp has joined #crystal-lang
<Davy_CC> so is is_a? a macro? or just a syntax
<Davy_CC> >> typ = Int32; typ.class
<DeBot> Davy_CC: # => Class - https://carc.in/#/r/rh4
<Davy_CC> >> Typ = Int32; 4.is_a? Typ
<DeBot> Davy_CC: # => true - https://carc.in/#/r/rh5
<Davy_CC> ok i know that is the problem
<Davy_CC> emancu: Compiler only knows the value which can be guess on compile-time, for example, local variables NOT but consts is ok
<Davy_CC> (marcos are expanded on compile-time
Virviil has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
greengriminal has joined #crystal-lang
<asterite> there's troubleshooting when you get that -levent error message
<asterite> jeromegn: you should check how ecr is implemented
<jeromegn> asterite: yea I checked it out a bit, I feel like it might be simpler if the parser serializes to ECR and then I use ECR to process that.
<jeromegn> I mean, ECR works well :)
<jeromegn> but yea
<jeromegn> I’m inspiring a lot from the toml parser and ecr parser
<jeromegn> I got some result already, it’s going really well.
jeromegn has quit [Quit: jeromegn]
jeromegn has joined #crystal-lang
<crystal-gh> [crystal] AlexWayfer opened pull request #2111: HTTP::Headers#merge! returns self (master...http_headers-merge-return-self) https://git.io/vglwD
jokke has quit [Quit: WeeChat 1.4]
jokke has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
fowlduck has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
fowlduck has joined #crystal-lang
greengriminal has quit [Quit: Leaving]
fowlduck has quit [Ping timeout: 250 seconds]
trajing has joined #crystal-lang
RX14 has joined #crystal-lang
<crystal-gh> [crystal] vjdhama opened pull request #2112: fixed typo in String's camelcase doc (master...master) https://git.io/vgliZ
fowlduck has joined #crystal-lang
Renich has joined #crystal-lang
Renich has quit [Client Quit]
sardaukar has joined #crystal-lang
fowlduck has quit [Ping timeout: 264 seconds]
Philpax has quit [Ping timeout: 256 seconds]
pawnbox has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
Sadin has joined #crystal-lang
Renich has joined #crystal-lang
Virviil has quit [Ping timeout: 264 seconds]
<crystal-gh> [crystal] ysbaddaden pushed 2 new commits to master: https://git.io/vglyo
<crystal-gh> crystal/master 973ec1d Julien Portalier: Merge pull request #2112 from vjdhama/master...
<crystal-gh> crystal/master 7eb592a vjdhama: fixed typo in String's camelcase doc
elia has joined #crystal-lang
<travis-ci> manastech/crystal#973ec1d (master - Merge pull request #2112 from vjdhama/master): The build passed. https://travis-ci.org/manastech/crystal/builds/107513703
<DeBot> https://github.com/manastech/crystal/pull/2112 (fixed typo in String's camelcase doc)