What is the meaning of () after an enumeration symbol?

2023-06-01 Thread pietroppeter
I think it is this proc defined in cssgrid:

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread Araq
> I'm focusing on using tcc first because it's fast and I need the code > compilation to happen as fast as possible, hence why I'm using C for the > function to avoid any extra step translating Nim to C. However, as the > problem I'm trying to solve gets larger, I'll need a compiler that can do

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread melovv
I got it working, but it feels hacky. Anyway, thanks everyone again for the help.

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread melovv
By the way, mind sharing the command-line you're using to compile the code you shared? Maybe I'm missing something there. Thanks

Indexing

2023-06-01 Thread Colins
Hey everyone, I could use some assistance regarding my website [www.learnaboutcat.com](https://forum.nim-lang.org/www.learnaboutcat.com). My goal is to enhance the indexing of my backlinks and boost my search engine rankings. Do you think it's advisable to employ software that compels Google to

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread melovv
Hey @JohnAD. That seems a good approach. Thanks for the effort you put into it.

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread melovv
It seems stdarg.h is fine. I tried a small example using it and it worked. I tried both gcc and tcc. I'll keep digging. Thanks

Need suggestions for time scheduling async tasks

2023-06-01 Thread cmc
@PMunch thanks for recommending `at`!! @viud09 it's a lightweight persistent task scheduler. I have an unpublished comment system that uses `at` combined with `limdb` for that exact purpose- in fact, having a rate limiter is the original use case why `limdb` AND `at` were written. I would reco

Need suggestions for time scheduling async tasks

2023-06-01 Thread PMunch
Maybe the [at](https://nimble.directory/pkg/at) package could be helpful?

What is the meaning of () after an enumeration symbol?

2023-06-01 Thread lou15b
I encountered this while trying to understand the internals of fidgetty. Please note that I'm a newbie when it comes to understanding macros and AST processing. Apologies for the long post - I am trying to give full context for my question. First the context. A couple of types from the cssgrid

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread guibar
I cannot reproduce (I am on a different system tough, manjaro linux with gcc 12.2.1). Something wrong with system `stdarg.h` ? Or with the include path ?

Need suggestions for time scheduling async tasks

2023-06-01 Thread void09
I am writing a client/crawler/scraper library for a certain website, hopefully my first nimble package. The site has some rate limiting which I haven't figure out exactly yet, but will try to do. Once I do, I want to have a request scheduler so that all requests (async) done to the website are a

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread melovv
Hello @guibar. I tested the tcc gist you shared but it's failing. I'm compiling with nim 1.6.12, tcc 0.9.27, gcc 9.4.0: nim c -d:danger --threads:on --cincludes:/content/tcc_nim/tinycc/include tcc_run.nim Error message: /usr/bin/ld: /root/.cache/nim/tcc_run_r/libtcc.c.o: in funct

Using TCC/NLVM to compile source code in a string

2023-06-01 Thread melovv
> So there's something somewhere that generates C code using full spectrum of C > semantics? What does it generate the code from? Is the generated code really > unrestricted in any way? Not full spectrum. Just a tiny subset to solve the problems we have. The code has some restrictions to avoid

German Tax Upload in Nim with Futhark

2023-06-01 Thread cmc
Hello @zembrowski! Welcome to the Nim-community- it's very cool that you joined us on this forum as well. Everyone, @zembrowski found my post on the elster forum and just went ahead contributed an essential feature to my very C-like code even though a just a little while earlier he had never hea