globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* CompanionCube
wonders what the best binding generator is
barosl has joined #crystal-lang
<jhass>
dunno, how usable is crystal_lib by now asterite ?
<asterite>
Mmm... it can be used, however we'll eventually (hopefully soon!) integrate it in the compiler... not as a tool, but those annotations will be in the code and we'll generate lib definitions in temporary files, etc.
<asterite>
But until then, it can be used as a separate tool, but there's no auto-import all with the given prefix (we'll support that)
<jhass>
CompanionCube: probably crystalize.py for now then
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/vC5kl
<RX14>
also, the changelog says "(breaking change) json_mapping is now JSON.mapping. yaml_mapping is now YAML.mapping" but the commit which adds them appears to be AFTER the 0.9.0 commit
<trapped>
what about having the IO specify the "default" endianness? e.g. system (little) for files, network (big) for sockets
<jhass>
yeah, I think defaulting to System on IO and doing overloads that default to network on socket would be reasonable
ssvb has joined #crystal-lang
Ven has joined #crystal-lang
bmcginty has quit [Ping timeout: 240 seconds]
bmcginty has joined #crystal-lang
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 240 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has quit [Ping timeout: 240 seconds]
Ven has joined #crystal-lang
trapped has joined #crystal-lang
blue_deref has joined #crystal-lang
<trapped>
what does @type evaluate to in a `macro inherited`? the inheriting type or the inherited type?
<jhass>
should be the inheriting type (the child)
<jhass>
though note that definitions after the include are not yet visible
<jhass>
(constants as well as methods)
<trapped>
so instance vars are not visible
<trapped>
right?
<jhass>
mmh, only ones used before the include I think
<trapped>
is there any way to defer `macro inherited` expansion until the inheriting class has been fully defined?
<jhass>
not that I'm aware of
<jhass>
note that there's no "fully defined" point, we got an open class system
<trapped>
right
<trapped>
so it's not possible to access the inheriting class' instance variables in the inherited macro, right?
ssvb has quit [Ping timeout: 244 seconds]
<jhass>
not the ones defined after the include call I think
<trapped>
is inheriting the same as including?
<jhass>
no
<jhass>
a sigh, sorry I somehow thought you'd be including
<crystal-gh>
[crystal] asterite pushed 2 new commits to master: http://git.io/vCF3o
<crystal-gh>
crystal/master 975d93c Ary Borenszweig: Formatter: check idempotency in specs, and some refactors
<crystal-gh>
crystal/master a7736b1 Ary Borenszweig: Define `exec_internal` in HTTP::Client
<jhass>
so no, in inherited there's nothing known yet
datanoise has joined #crystal-lang
<trapped>
why aren't macros expanded after class variables are defined?
<jhass>
as said there's no defined point for that "after"
leafybasil has joined #crystal-lang
pawnbox has joined #crystal-lang
<crystal-gh>
[crystal] asterite opened pull request #1761: Align consecutive assignments if they are logically grouped (master...formatter_align_assignments) http://git.io/vCFsX
leafybasil has quit [Ping timeout: 260 seconds]
datanoise has quit [Ping timeout: 240 seconds]
datanoise has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
sooli has joined #crystal-lang
ssvb has joined #crystal-lang
leafybasil has quit [Read error: Connection reset by peer]
leafybasil has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bcardiff has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/vCFl4
<crystal-gh>
crystal/master 546f89b Ary Borenszweig: Formatter: fixed a formatter bug related to case/when
Renich has joined #crystal-lang
Renich has quit [Client Quit]
Renich has joined #crystal-lang
ssvb has quit [Ping timeout: 260 seconds]
ssvb has joined #crystal-lang
<BlaXpirit>
i'll be frank, i think this formatter is a waste of time, especially for someone as important as asterite
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sooli has quit [Remote host closed the connection]
leafybas_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
leafybasil has quit [Read error: Connection reset by peer]
leafybasil has joined #crystal-lang
leafybas_ has joined #crystal-lang
datanoise has joined #crystal-lang
leafybasil has quit [Ping timeout: 244 seconds]
leafybas_ has quit [Ping timeout: 250 seconds]
Ven_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
datanoise has quit [Quit: WeeChat 1.3]
reed_ has joined #crystal-lang
leafybasil has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/vCbP9
<crystal-gh>
crystal/master a8e9ba7 Ary Borenszweig: Parser: fixed incorrect parsing of `foo bar.baz do ... end` (the block was attached to `bar.baz` instead of `foo`)