07:51
Ven` joined
|
|||
Ven` | so, I've tried to write some Haxe for a bit. | 08:03 | |
I was interested in the to-lua part, but one of the things you use often in lua are var args, which aren't part of Haxe | 08:04 | ||
thankfully, Haxe has... macros! so I wrote a small wrapper. github.com/vendethiel/haxewow/blob...er/Test.hx | |||
This is prety much a (very stupid) signature binder | 08:05 | ||
masak | nice! | 08:07 | |
by the way, what's your take on Haxe? is it a good language? | 08:08 | ||
Ven` | masak: the documentation is awful | 08:48 | |
I'm not too surprised, but still... | |||
Especially considering I ran right into macros (this was my first Haxe program), which tend to have even less users than the rest... | |||
but at the end I was looking at the sources on github. | |||
masak | ok :) | 08:49 | |
Ven` | it also happened when I was doing some Crystal, but Crystal is only 4 years old. Haxe is 13 years old... | ||
masak | yeah | 08:50 | |
Ven` | It's very much a community issue. They never really gained traction. My memory from 2005 is a bit fuzzy, but I seem to remember it was only for ActionScript back then, and the codebase was proprietary | 08:51 | |
that probably hindered them a lot. | |||
masak | right | ||
speaking of documentation | |||
dunno if you've seen it, but I'm currently writing gist.github.com/masak/010ba2ab93a5...5339ffd05b | |||
Ven` | Anyway, the language itself is fairly nice. A good deal of static typing, fairly advanced features, ... | 08:52 | |
masak | it's going fairly well | ||
soon ready to tackle the middle third of the documentation, which is all about macros | |||
Ven` | there are a few things it doesn't offer in itself, but allow the FFI'd-to language to do, like overloading functions. | ||
masak | as usual when I write documentation, it feeds back greatly into 007 itself | ||
Ven` | wow, where is that @get/@set syntax coming from | 08:54 | |
I have no recollection of it | |||
(I mean of discussing it in the issues) | |||
masak | it's conjectural at this point | ||
and might not survive | |||
it's not 100% truthful, as @get mostly means "public"/"accessible from the outside" | 08:55 | ||
but aside from that, I like the class declaration syntax a lot, as used in the documentation | 08:56 | ||
it's very non-opinionated | |||
Ven` | is that even possible? :P | 09:06 | |
masak | it's one of those never-quite-achieved goals to strive towards, I guess | 09:09 | |
akin to Python's "there should be one obvious way" | |||
thinking of calling them @settable @property instead of @set @get | 11:20 | ||
11:29
Ven` left
12:06
Ven` joined
16:34
Ven` left
|