5 ms·
I was wondering about the interesting choice of an obscure language as the first language to roll out with luxe, but it seems really interesting [1] I am defin
by merlinsbrain 9y ago
I was wondering about the interesting choice of an obscure language as the first language to roll out with luxe, but it seems really interesting [1]
I am definitely biased once I realized the primary author of the language (Wren) is Bob Nystrom, someone with professional experience in both game and language development [2]
[1] http://wren.io/ http://wren.io/
[2] https://github.com/munificent https://github.com/munificent
- pzone 9y agoLooks like a neat little language. Lua's syntax always appeared ugly to me - or if not ugly, then unnecessarily foreign. Something more Javascript-like lowers that barrier a good bit.
- vardump 9y agoDoing source transformation "transpiling" from something more Javascript like to Lua has always been trivial. Not that Lua is ugly (subjective), I find it as something Javascript should have always been.
- _discovery 9y agoThe dev logs typically go into detail on the decisions I make, for the decision on wren see https://luxeengine.com/dev-log-5/ https://luxeengine.com/dev-log-5/ .
- merlinsbrain 9y agoNice, I really like this!
- _discovery 9y agothanks :)
- danielbarla 9y agoUnrelated to Wren, but I felt that Bob's book "Game Programming Patterns" ([1] and a free web version [2]) was excellent, and a very down to earth treatment of the topic. All of the examples were relevant and pretty hard hitting. I know patterns (especially "design patterns") have become a bit of a swear-word, something which hints at severe engineering malpractices, especially along the lines of introducing unnecessary complexity for seemingly its own sake. I think that view oversimplifies the topic greatly, so hopefully people don't dismiss it at face value. [1] http://gameprogrammingpatterns.com/ http://gameprogrammingpatterns.com/ [2] http://gameprogrammingpatterns.com/contents.html http://gameprogrammingpatterns.com/contents.html
- _discovery 9y agoGPP was great. Plus, Bob's new book is about writing interpreters! http://craftinginterpreters.com/ http://craftinginterpreters.com/
- danielbarla 9y agoAh cool, thanks for the link. It sounds like it may actually come in handy - I've ended up creating a number of solutions which came pretty close to being fully fledged domain specific languages. Sadly, despite nominally passing a CS compilers course about 20 years ago, my implementations have been horrifically incorrect. Maybe it's time to refresh my memory of how to actually do this.
- _discovery 9y agooh nice, yea it's coming along (the book is not complete yet, like before, it's written and each chapter put up when complete). There's a github repo as well. I'd say it's worth the fun of writing your own alongside or after!