jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.4 | 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
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vtion
<crystal-gh> crystal/master 3190b51 Ary Borenszweig: Merge pull request #898 from PragTob/made-help-short-flag-work...
<crystal-gh> crystal/master 2f4b16a Tobias Pfeiffer: Allow -h flag as a short version for --help
bcardiff has quit [Quit: Leaving.]
<travis-ci> manastech/crystal#3190b51 (master - Merge pull request #898 from PragTob/made-help-short-flag-work
<crystal-gh> [crystal] will opened pull request #902: Slice to string (master...slice-to-string) http://git.io/vti16
dtscode is now known as mewtwo
mewtwo is now known as charmander
charmander is now known as Guest4215
Guest4215 is now known as dtscode
NeverDie has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
<ozra> Can any one tell me where this `parse_or` is defined? Searched the whole repo.. https://github.com/manastech/crystal/blob/master/src/compiler/crystal/syntax/parser.cr#L398
<willl> from a macro
<ozra> willl: Aha, suspected something like that :) Thanks a lot :)
dtscode is now known as dtscoded
dtscoded is now known as dtscode
<ozra> dtscode: what's up with the name changes?
<dtscode> ozra: the others were a mistake. I was on the wrong client
<dtscode> my bad
<ozra> haha, just curious :)
<dtscode> trying to set up my irc bot with some cool nicks
fowlduck has quit [Remote host closed the connection]
ozra has quit [Ping timeout: 246 seconds]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 246 seconds]
waj has quit [Quit: waj]
waj has joined #crystal-lang
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
havenwood has quit [Ping timeout: 255 seconds]
havenwood has joined #crystal-lang
<crystal-gh> [crystal] will closed pull request #902: Slice to string (master...slice-to-string) http://git.io/vti16
waj has quit [Quit: waj]
<crystal-gh> [crystal] yui-knk opened pull request #903: Split Array#sort like tests (sort, sort!, sort_by, sort_by!) (master...fix/test_array) http://git.io/vtPWS
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
<crystal-gh> [crystal] yui-knk opened pull request #904: Add `column_number` and `line_number` to test case (master...fix/ecr_spec) http://git.io/vtP0h
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
flaviu has quit [Ping timeout: 265 seconds]
BlaXpirit has joined #crystal-lang
unshadow has joined #crystal-lang
<unshadow> jhass: how hard would it be to add Projectfile support for carc.in ? like another textbox or something where you can add repos and in the background you will do crystal deps ?
Dreamer3_ has quit [Quit: Leaving...]
Dreamer3 has joined #crystal-lang
<BlaXpirit> I think that's an unreasonable request
<unshadow> BlaXpirit: I didn't requested it, just asked how hard would that be to make :)
<vifino> Hey guys, did someone make JACK audio bindings yet?
<unshadow> vifino: best place to check is https://crystalshards.herokuapp.com/
Ven has joined #crystal-lang
Ven has quit [Read error: No route to host]
<vifino> unshadow: Sadly, it doesn't have any jack bindings listed :(
<vifino> Or I'm too blind.
daneb has joined #crystal-lang
daneb has quit [Remote host closed the connection]
daneb has joined #crystal-lang
<dtscode> perhaps both
dtscode is now known as dtscoded
dtscoded is now known as dtscode
daneb has quit [Remote host closed the connection]
flaviu has joined #crystal-lang
daneb has joined #crystal-lang
Kilobyte22 has joined #crystal-lang
Ven has joined #crystal-lang
unshadow has quit [Quit: leaving]
<Kilobyte22> how much longer does the compile with the --release flag take
<Kilobyte22> on average
daneb has quit [Remote host closed the connection]
Ven has quit [Client Quit]
<Kilobyte22> how are the crystal api docs generated?
Ven has joined #crystal-lang
<jhass> Kilobyte22: crystal docs
<Kilobyte22> i may look into making them prettier, because that bugs me :P
<Kilobyte22> not now though, stuck on my laptop which run mint. and as we discovered yesterday, crystal dev is a pain on mint atm
<jhass> Kilobyte22: did you try with -L yet?
<Kilobyte22> uh, no, i should though
<Kilobyte22> but not in mood for fiddling with stuff atm
<jhass> make FLAGS='--link-flags="-L/opt/crystal/embedded/lib"' or something
<Kilobyte22> hmm... can we get a file like ~/.crystal/crystal.conf where we can specify such things system wide? :P
<Kilobyte22> I BROKE IT \o/
<Kilobyte22> Error: you've found a bug in the Crystal compiler. Please open an issue: https://github.com/manastech/crystal/issues
<Kilobyte22> will report later, i know how to reproduce it after all :P
<jhass> Kilobyte22: man gcc describes all the environment variables
<jhass> LIBRARY_PATH
<Kilobyte22> well, i broke the compiler :P
<Kilobyte22> FLAGS should not affect that
<Kilobyte22> dang, my lecture is 30 more minutes and its boring AF
<Kilobyte22> why did i even go here. i could have slept 2 hours longer...
<jhass> mmh, LDFLAGS="-L.." or CFLAGS="-L.." could work too
<jhass> that is exporting them (-> autoenv)
<Kilobyte22> said error also happens without any flags
<Kilobyte22> (i just updated crystal to latest git)
<Kilobyte22> my statement: latest git is broken.
<Kilobyte22> it only happens with this code
<Kilobyte22> so i'll have to write an example that reliably reproduces it later
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Kilobyte22> can i get crystal to include debug symbols?
<Kilobyte22> would greatly help debugging :P
daneb has joined #crystal-lang
willl has quit [Quit: Connection closed for inactivity]
<jhass> if you're on LLVM 3.5 still, yes
<jhass> crystal build --debug
* Kilobyte22 checks makefile
<Kilobyte22> yay
<Kilobyte22> totally not compiling crystal with --debug
<Kilobyte22> as in, the compiler
<Kilobyte22> ffs, i give up. this is too big of a clusterfuck
<jhass> compiles fine here btw
<Kilobyte22> (not crystal, but mint)
<Kilobyte22> jhass: does 'make FLAGS=--debug' work as well
<Kilobyte22> it probably does because even without FLAGS it breaks for me now
* Kilobyte22 wants his arch back, but that stopped working on his laptop and he needs a laptop that reliably works for uni
<Kilobyte22> on my desktop i don't mind spending an afternoon or two tinkering with the system :P
<jhass> FLAGS is just passed to the command, of course
<Kilobyte22> i did think that broke it though
<Kilobyte22> i gotta figure out what exactly breaks the compiler
<Kilobyte22> so i can get a simple code example that reproduces it
<Kilobyte22> compiler bugs ftw :P
Kilobyte22 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
daneb has quit [Remote host closed the connection]
daneb has joined #crystal-lang
BlaXpirit has quit [Quit: Quit Konversation]
BlaXpirit has joined #crystal-lang
NeverDie has joined #crystal-lang
daneb has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] yui-knk opened pull request #905: Add test for Enumerable#all? (master...test/enum_all) http://git.io/vt10C
<crystal-gh> [crystal] yui-knk opened pull request #906: [ci skip] Add comment for Enumerable#inject with initial value (master...comment/enum_inject) http://git.io/vt1Ey
fowlduck has quit [Remote host closed the connection]
waj has joined #crystal-lang
daneb has joined #crystal-lang
<crystal-gh> [crystal] yui-knk opened pull request #907: Implement Enumerable#none? without block (master...feature/enum_none) http://git.io/vt1PC
daneb has quit [Ping timeout: 246 seconds]
daneb has joined #crystal-lang
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 252 seconds]
Ven has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 248 seconds]
havenwood has joined #crystal-lang
daneb_ has joined #crystal-lang
daneb has quit [Read error: Connection reset by peer]
waj has quit [Quit: waj]
ozra has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
<ozra> How do I debug print the AST in a macro?
fowlduck has joined #crystal-lang
daneb_ has quit [Remote host closed the connection]
fowlduck has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #crystal-lang
jtarchie has quit [Quit: Connection closed for inactivity]
waj has joined #crystal-lang
bcardiff has joined #crystal-lang
bcardiff1 has joined #crystal-lang
waj has quit [Ping timeout: 248 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bcardiff has quit [Ping timeout: 276 seconds]
waj has joined #crystal-lang
Ven has joined #crystal-lang
jtarchie has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 248 seconds]
willl has joined #crystal-lang
NeverDie has joined #crystal-lang
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waj has quit [Quit: waj]
daneb has joined #crystal-lang
daneb has quit [Remote host closed the connection]
daneb_ has joined #crystal-lang
havenwood has joined #crystal-lang
Ven has joined #crystal-lang
<ozra> Anyone has a hint on how I debug print the AST in a macro?
<jhass> doubt you can
daneb_ has quit [Remote host closed the connection]
Ven has quit [Ping timeout: 256 seconds]
<ozra> jhass: I'll be damned, ok. Thanks
Ven has joined #crystal-lang
daneb has joined #crystal-lang
daneb has quit [Remote host closed the connection]
daneb_ has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fowlduck has joined #crystal-lang
daneb_ has quit [Remote host closed the connection]
daneb has joined #crystal-lang
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 252 seconds]
fowlduck has quit [Remote host closed the connection]
havenn is now known as havenwood
fowlduck has joined #crystal-lang
<crystal-gh> [crystal] bcardiff pushed 1 new commit to master: http://git.io/vtSRY
<crystal-gh> crystal/master 5bfee48 Brian J. Cardiff: Added `Cast#obj` and `Cast#to` in macros
NeverDie has joined #crystal-lang
<BlaXpirit> welp, i generated bindings to opengl
<BlaXpirit> seem to work nicely
shama has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
daneb has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
daneb has joined #crystal-lang
<travis-ci> manastech/crystal#5bfee48 (master - Added `Cast#obj` and `Cast#to` in macros): The build passed. https://travis-ci.org/manastech/crystal/builds/69032687
bcardiff1 has quit [Quit: Leaving.]
daneb has quit [Remote host closed the connection]
<BlaXpirit> how to make 2D array?
<jhass> empty one I assume: foo = [] of Array(Bar)
<jhass> we also have Matrix and using Tuple for the inner ones is often a good choice too
<BlaXpirit> matrix!
<BlaXpirit> perfect, thanks. did not expect this
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
fowlduck has quit [Remote host closed the connection]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
bcardiff has joined #crystal-lang
BlaXpirit has quit [Quit: Quit Konversation]
bcardiff has quit [Quit: Leaving.]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]