Re: Iterating over a Structured Type?

2019-09-19 Thread dponyatov
Some question is close to origin: what tools exist for generating binary parsers, with the feel like parser generators works over grammar definitions (flex/ragel/antlr/..)? I mean some tool generates Nim (or better ANSI C) code driven by the declarative binary format specification down to the

Re: Iterating over a Structured Type?

2019-09-19 Thread dponyatov
The much better feature is required to work with low-level binary data is the same way as GCC 6+ version which has special byte-order intrinsics. How is complex to implement this for any generic C backend?

Re: How to get Nim running on iOS and Android using GLFM.

2019-09-19 Thread lxdong
This would be great help!Your work like typography is also fundamental and awesome!I have shared this post to our QQ group to see whether someone could help.

Re: How to get Nim running on iOS and Android using GLFM.

2019-09-19 Thread treeform
Making headway on memory issues. My main problems where mostly from not calling NimMain before I do nim stuff. I think I have spend 60 hours this week looking at Nim's generated C code... I am stuck on some memory corruption bugs now, which might be my fault.

Re: How to get Nim running on iOS and Android using GLFM.

2019-09-19 Thread Araq
About the memory problems, maybe these platforms don't support `mmap`? I dunno.

Re: Iterating over a Structured Type?

2019-09-19 Thread Tristano
Thanks @cdome, this worked liked a charm.

Nim on MIPS

2019-09-19 Thread dponyatov
Nobody still did not write a tutorial how to build custom programs in OpenWrt for MIPSel (rt5350F)?

Re: Error by duplicated file names (redefinition of 'types'; previous declaration here...)

2019-09-19 Thread LeuGim
This is because modules' names get defined in the importing module, so that you can write e.g. `types.x`, and in this case `types` would be ambiguous. It would be possible to import the same named modules by different names, like `import cirruInterpreter/types as interpreterTypes` (would be

Re: Why the Translator term was not used?

2019-09-19 Thread Araq
Anybody who ever wrote a compiler knows that Nim does compile. _shrug_ GCC is a translator to GNU assembler.

Re: How to get mac address of the local host?

2019-09-19 Thread JohnS
Take a look at the ifconfig script in psutil-nim: [https://github.com/juancarlospaco/psutil-nim/blob/master/scripts/ifconfig.nim](https://github.com/juancarlospaco/psutil-nim/blob/master/scripts/ifconfig.nim)

Error by duplicated file names (redefinition of 'types'; previous declaration here...)

2019-09-19 Thread jiyinyiyong
I got an error in my project [https://github.com/Cirru/interpreter.nim](https://github.com/Cirru/interpreter.nim) =>> nimble build Verifying dependencies for cirruInterpreter@0.0.1 Installing cirru-parser@>= 0.0.3 Downloading https://github.com/Cirru/parser.nim using

Re: Iterating over a Structured Type?

2019-09-19 Thread cdome
for f in fields(myobject): echo sizeof(f) Run Read docs on fields and fieldPairs iterators

Why the Translator term was not used?

2019-09-19 Thread dponyatov
Why the Translator term was not used for the description of the Nim "compiling" stage to C[++] source?

ME Creator is not recognized by windows 7

2019-09-19 Thread oliviagreene
Having a lot of problems with the drivers and getting Repetier to connect to my 3D printer. I've followed all the steps on the instructions and still won't work. Help needed.