Cool! Do you think you could try a Web Assembly build of it?
@Fungi, thanks! I hope it'll help to spread out the word about Nim too.
@Vladar, I played it, it was fun. Thank you.
Sure thing!
[https://vladar.itch.io/glorious-glacier-grotto](https://vladar.itch.io/glorious-glacier-grotto)
[https://github.com/Vladar4/ng2gggrotto](https://github.com/Vladar4/ng2gggrotto)
You should know, that when you want to be able to see a variable as an image in
the editor, it is more an editor feature, than a language feature. You would
have to implement that in the editor of your choice on your own. But even then
it is not trivial, because you would also have some support
This will not show an image but you can embed binary data at compile time with
something like this
import os, macros, base64
macro embed_binary_file(var_name:untyped,filename:string) : typed =
let bin64 = base64.encode(slurp(filename.strVal))
result = newStmtList
I think this could be done as an emacs plugin. Emacs already has a mode that
allows you to see paths to images as the image themself in the editor.
[iimage.el](https://github.com/typester/emacs/blob/master/lisp/iimage.el) is
the [*mode* (emacs
term)](https://www.gnu.org/software/emacs/manual/ht
I'd rather have a new website today than a new website with a nice mascot
tomorrow. So please help dom96 in finishing the website.
I think that every rationalization about why to pick a mascot will not be
understood. It has to be something that just looks nice.
Unfortunately, I don't like very much any of the previous proposals. If a
mascot is needed (is it?), make sure it is drawn by a professional designer
I don't like the octopus, sorry. Not only is GitHub the immediate association
with octopus, but I don't like the actual image. Sorry.
Also, I think @dom96 and @Araq should just pick the mascot without an open
discussion. It's the kind of decision that doesn't require opinions from the
public, m
Test more, find this code works:
echo concat([@[@[1,2]], @[@[3,4]]])
Turn the arguments into array, then the varargs parameter works.
This code is ok:
echo concat(@[1,2], @[3,4])
But this code doesn't compile:
echo concat(@[@[1,2]], @[@[3,4]])
12 matches
Mail list logo