Resurrecting this thread as I stumbled upon the exact same issue.
The library from def_pri_pub (stb_image) and the library I'm wrapping (ttmath)
are header-only so we can't link to a library.
I've noticed that `{.importc: "someProc", header: "path/to/header".}` is either
absolute or relative to
Thank you for the suggestion alexsad. But when using constants, I can't figure
out how to access them with a dynamic reference.
With my current _tables_ solution, I can access the item based on the host and
language by concentrating the users elements:
# langGet[identifier & "_"
@Jipok I found a decent black theme,
[here](https://github.com/rgieseke/textadept-themes) but yours is nice too.
Is it possible to expose objects to nimscript? Does any example exist?
After rework this exmaple
[https://nim-lang.org/docs/tut2.html#building-your-first-macro-generating-source-code](https://nim-lang.org/docs/tut2.html#building-your-first-macro-generating-source-code)
import macros, strutils
var cfgFile = """title_ENh = Hubanize
title_DKh
@bahm:
could you please add links to IRC logs for discussions already happened?
I see a post for the first time, so it is likely has been blocked.
Couple of thoughts in loud:
In Nim expressions have already a proper type, no need wrap then into `let|var`
assignments. `for x in [1, 2, 3, 4]: if x mod 2 == 0: x else: x + 1` should be
a already valid.
I think it makes sense
I'm surprised no one replied to your thread yet.
The goal is to have "for" be a expression so it could sit on the right-hand
side of an assignment.
I'm not sure how it will be in practice for the: initialization - for loop -
return
> Dogfood refers to developers using their own product being actively developed
> so that they will be annoyed enough by its rough edges to fix them.
Yeah, and that's exactly what happened. We effectively got rid of all the spam,
for example.
> Inspect Element to get a link? Seriously? There's
Dogfood refers to developers using their own product being actively developed
so that they will be annoyed enough by its rough edges to fix them. There's no
active development of this forum software and people are bending over backwards
to rationalize its shortcomings. (Inspect Element to get a
10 matches
Mail list logo