00:02
pawnbox has joined #crystal-lang
00:07
pawnbox has quit [Ping timeout: 260 seconds]
00:13
Philpax_ has quit [Ping timeout: 240 seconds]
00:13
Sadin has quit [Ping timeout: 240 seconds]
00:19
trapped has quit [Read error: Connection reset by peer]
00:32
pawnbox has joined #crystal-lang
00:36
pawnbox has quit [Ping timeout: 240 seconds]
00:45
luislavena has quit [Quit: Leaving]
00:46
Philpax_ has joined #crystal-lang
00:52
pawnbox has joined #crystal-lang
00:56
jokke has quit [Quit: WeeChat 1.3]
00:56
pawnbox has quit [Ping timeout: 240 seconds]
00:56
jokke has joined #crystal-lang
00:59
jokke has quit [Client Quit]
00:59
jokke has joined #crystal-lang
01:01
dome22xl has quit [Read error: Connection reset by peer]
01:04
Philpax_ has quit [Ping timeout: 260 seconds]
01:06
jokke has quit [Quit: WeeChat 1.3]
01:06
jokke has joined #crystal-lang
01:42
pawnbox has joined #crystal-lang
01:46
pawnbox has quit [Ping timeout: 252 seconds]
02:03
pawnbox has joined #crystal-lang
02:07
pawnbox has quit [Ping timeout: 250 seconds]
02:23
elia has quit [Quit: Computer has gone to sleep.]
02:57
grindhold_ has quit [Remote host closed the connection]
03:02
pawnbox has joined #crystal-lang
03:07
pawnbox has quit [Ping timeout: 240 seconds]
03:32
pawnbox has joined #crystal-lang
03:37
pawnbox has quit [Ping timeout: 245 seconds]
03:43
Sadin has joined #crystal-lang
04:12
pawnbox has joined #crystal-lang
04:17
pawnbox has quit [Ping timeout: 256 seconds]
04:52
pawnbox has joined #crystal-lang
04:57
pawnbox has quit [Ping timeout: 260 seconds]
05:22
pawnbox has joined #crystal-lang
05:27
pawnbox has quit [Ping timeout: 250 seconds]
05:31
iIlL10Oo has quit [Remote host closed the connection]
06:00
pawnbox has joined #crystal-lang
06:01
pawnbox has quit [Remote host closed the connection]
06:35
triangles has quit [Quit: Leaving]
07:04
fowlduck has quit [Remote host closed the connection]
07:20
fowlduck has joined #crystal-lang
07:25
fowlduck has quit [Ping timeout: 250 seconds]
07:31
Sadin has quit [Ping timeout: 245 seconds]
07:40
fowlduck has joined #crystal-lang
08:01
pawnbox has joined #crystal-lang
08:05
pawnbox has quit [Ping timeout: 240 seconds]
08:30
pawnbox has joined #crystal-lang
08:35
pawnbox has quit [Ping timeout: 248 seconds]
09:02
pawnbox has joined #crystal-lang
09:05
pawnbox has quit [Remote host closed the connection]
09:05
pawnbox has joined #crystal-lang
09:54
<
Davy_CC >
emancu: libevent?
09:55
<
Davy_CC >
dome22xl: that's for lua
10:34
grindhold has joined #crystal-lang
10:37
elia has joined #crystal-lang
10:40
fowlduck has quit [Remote host closed the connection]
11:00
fowlduck has joined #crystal-lang
11:05
fowlduck has quit [Ping timeout: 260 seconds]
11:20
fowlduck has joined #crystal-lang
11:40
trapped has joined #crystal-lang
12:04
jokke has quit [Quit: WeeChat 1.3]
12:10
jokke has joined #crystal-lang
12:26
<
emancu >
Davy_CC: but installing crystal-lang from homebrew, why should I install another dependency ?
12:26
<
emancu >
i mean, it should install all deps from the beginning
12:50
pawnbox has quit [Remote host closed the connection]
12:50
pawnbox has joined #crystal-lang
13:09
Sadin has joined #crystal-lang
14:15
<
emancu >
@here is it possible to use nested macros ?
14:16
<
emancu >
of course it is possible =)
14:20
fowlduck has quit [Remote host closed the connection]
14:33
<
emancu >
>>puts 4.is_a? Int32
14:33
<
emancu >
>>type = Int32; puts 4.is_a? type
14:36
<
emancu >
i guess i can't dynamically check a type on macros :/
14:39
ponga has joined #crystal-lang
14:40
fowlduck has joined #crystal-lang
14:45
fowlduck has quit [Ping timeout: 240 seconds]
14:49
elia has quit [Quit: Computer has gone to sleep.]
15:00
fowlduck has joined #crystal-lang
15:07
pawnbox has quit [Remote host closed the connection]
15:07
pawnbox has joined #crystal-lang
15:30
luislavena has joined #crystal-lang
15:43
dzv has joined #crystal-lang
15:51
jeromegn has quit [Ping timeout: 240 seconds]
15:53
jeromegn has joined #crystal-lang
16:05
<
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
16:05
<
jeromegn >
I was thinking I’d convert the supplied source template into ECR and then just run that. Seems easiest.
16:06
<
BlaXpirit >
>> typ = Int32; 4.class == typ # emancu
16:07
<
BlaXpirit >
>> typ = Int32; typeof(4) == typ
16:16
pawnbox has quit [Remote host closed the connection]
16:16
pawnbox has joined #crystal-lang
16:18
gdd229 has joined #crystal-lang
16:21
pawnbox has quit [Remote host closed the connection]
16:21
pawnbox has joined #crystal-lang
16:34
Sadin has quit [Ping timeout: 250 seconds]
16:34
elia has joined #crystal-lang
16:34
greengriminal has joined #crystal-lang
16:35
greengriminal has quit [Client Quit]
16:48
elia has quit [Quit: Computer has gone to sleep.]
16:58
elia has joined #crystal-lang
16:59
elia has quit [Client Quit]
17:08
elia has joined #crystal-lang
17:42
Excureo has quit [Ping timeout: 276 seconds]
17:43
Excureo has joined #crystal-lang
17:47
xAndy| has left #crystal-lang ["bye"]
18:00
fowlduck has quit [Remote host closed the connection]
18:29
gdd229 has quit [Ping timeout: 260 seconds]
18:40
fowlduck has joined #crystal-lang
18:42
elia has quit [Quit: Computer has gone to sleep.]
18:49
luislavena has quit [Quit: Leaving]
18:51
<
Davy_CC >
emancu: I have no idea. When I install 0.9.1, it installed all what i need
18:53
<
Davy_CC >
BlaXpirit: is this a technology limit or just a bug with #is_a?
18:53
<
BlaXpirit >
Davy_CC, is_a? is a compile-time construct
19:02
matp has quit [Ping timeout: 276 seconds]
19:02
matp has joined #crystal-lang
19:04
<
Davy_CC >
so is is_a? a macro? or just a syntax
19:06
<
Davy_CC >
>> typ = Int32; typ.class
19:08
<
Davy_CC >
>> Typ = Int32; 4.is_a? Typ
19:09
<
Davy_CC >
ok i know that is the problem
19:15
<
Davy_CC >
emancu: Compiler only knows the value which can be guess on compile-time, for example, local variables NOT but consts is ok
19:16
<
Davy_CC >
(marcos are expanded on compile-time
19:24
Virviil has joined #crystal-lang
19:43
pawnbox has quit [Remote host closed the connection]
19:43
pawnbox has joined #crystal-lang
19:59
greengriminal has joined #crystal-lang
20:54
<
asterite >
there's troubleshooting when you get that -levent error message
20:55
<
asterite >
jeromegn: you should check how ecr is implemented
20:57
<
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.
20:57
<
jeromegn >
I mean, ECR works well :)
20:57
<
jeromegn >
I’m inspiring a lot from the toml parser and ecr parser
20:58
<
jeromegn >
I got some result already, it’s going really well.
21:03
jeromegn has quit [Quit: jeromegn]
21:04
jeromegn has joined #crystal-lang
21:15
<
crystal-gh >
[crystal] AlexWayfer opened pull request #2111: HTTP::Headers#merge! returns self (master...http_headers-merge-return-self)
https://git.io/vglwD
21:23
jokke has quit [Quit: WeeChat 1.4]
21:32
jokke has joined #crystal-lang
21:38
ponga has quit [Quit: Connection closed for inactivity]
21:40
fowlduck has quit [Remote host closed the connection]
21:48
Philpax has joined #crystal-lang
22:00
fowlduck has joined #crystal-lang
22:00
greengriminal has quit [Quit: Leaving]
22:05
fowlduck has quit [Ping timeout: 250 seconds]
22:08
trajing has joined #crystal-lang
22:08
RX14 has joined #crystal-lang
22:11
<
crystal-gh >
[crystal] vjdhama opened pull request #2112: fixed typo in String's camelcase doc (master...master)
https://git.io/vgliZ
22:20
fowlduck has joined #crystal-lang
22:26
Renich has joined #crystal-lang
22:27
Renich has quit [Client Quit]
22:43
sardaukar has joined #crystal-lang
22:44
fowlduck has quit [Ping timeout: 264 seconds]
22:54
Philpax has quit [Ping timeout: 256 seconds]
22:57
pawnbox has quit [Remote host closed the connection]
22:59
fowlduck has joined #crystal-lang
23:07
pawnbox has joined #crystal-lang
23:12
pawnbox has quit [Ping timeout: 276 seconds]
23:26
Sadin has joined #crystal-lang
23:27
Renich has joined #crystal-lang
23:36
Virviil has quit [Ping timeout: 264 seconds]
23:38
<
crystal-gh >
crystal/master 973ec1d Julien Portalier: Merge pull request #2112 from vjdhama/master...
23:38
<
crystal-gh >
crystal/master 7eb592a vjdhama: fixed typo in String's camelcase doc
23:47
elia has joined #crystal-lang