SiSix and Nim

2022-04-01 Thread sls1005
A language is Turing-complete if it can emulate a Turing machine, a machine that has a tape subleq a, Z subleq Z, b subleq Z, Z Run , a head that can read or write Mem[b] = Mem[b] - Mem[a] Run or move if Mem[b] ≤ 0: goto c

SiSix and Nim

2022-04-01 Thread Yardanico
has a few examples, you can also give a look :) P.S.: Check the date of the post :P

SiSix and Nim

2022-04-01 Thread mardiyah
Really don't get it this ultimate risc being really Turing complete, how then to do decision operation e.g. cmp eax, ebx jz [0700] cmp eax, $0101 ja [0700] Run

SiSix and Nim

2022-04-01 Thread reversem3
April fools

[Karax] "include" statement doesn't work correctly inside karax DSL

2022-04-01 Thread xigoi
If I'm not mistaken, Nim's metaprogramming features always work “outside in”. If you have a macro inside a macro, the outer macro gets expanded and the inner macro may end up getting transformed into something else. It wouldn't make sense the other way, because the argument of a macro may be com

Tetronimia: a version of *that* game for your terminal

2022-04-01 Thread tmsa04
It works well now, thank you for the rapid fix.

[Karax] "include" statement doesn't work correctly inside karax DSL

2022-04-01 Thread veksha
I thought it just includes text at that position and then all other things will follow. but I guess macros kick in first. is there a reason for things to be like this? doesn't the include statement must have higher priority in preprocessor sequence?

SiSix and Nim

2022-04-01 Thread xigoi
As the success of C and C++ has shown us, using random combinations of symbols is the best way to represent simple low-level operations. Therefore, I suggest renaming the instruction to `#>@`. We'll have to make an exception in the lexer to prevent interpreting this as a comment, but it will be

SiSix and Nim

2022-04-01 Thread Araq
> Btw can you please pick a shorter mnemonic than subleq, since it would be > typed frequently? I think cmov would be a good alternative. The name was chosen after a long-winded process and is unlikely to change. Advantages: 1. Having to read the same thing over and over again with no gain of

Newbie questions about Nim, Python, XCB

2022-04-01 Thread noxnivi
Good day, Thanks @auxym, @federico3, @PMunch and @kobi for your replies. I'm learning with each one of them. As @auxym pointed out, I checked the wayland project and it does seem to be at a very early stage, so for now I will stay away from it. Nonetheless, I'll keep track of it. Libadwaita,

Native GUI development for MacOS

2022-04-01 Thread chikegar
"It doesn't help that Apple keeps changing everything. " Your sentiments are shared by other language creators such as Marc Hoffman (REM Objects) co-creator of the polyglot compiler, "Elements" and the Oxygene language (Pascal-based CLI language). Although not specific to GUI development, the ap

SiSix and Nim

2022-04-01 Thread qqtop
April 1st is the best date to make this announcement.

SiSix and Nim

2022-04-01 Thread huantian
I’m glad Nim is moving forward in a good direction! When can we expect to deprecate x86 as a target, so we can focus entirely on this new platform?

SiSix and Nim

2022-04-01 Thread planetis
Sounds amazing! I hope the project opensourced because otherwise the whole world would be missing out. Btw can you please pick a shorter mnemonic than `subleq`, since it would be typed frequently? I think `cmov` would be a good alternative.

[Karax] "include" statement doesn't work correctly inside karax DSL

2022-04-01 Thread PMunch
Definitely not how `include` is supposed to be used, and I'm guessing the reason that it fails is because `buildHtml` looks through all the nodes and converts stuff, things it can't convert it just outputs verbatim (or something similar). This means that `include test2` would simply be added in

Choosing the nim installation folder used by choosenim

2022-04-01 Thread didlybom
Thanks a lot PMunch. I went through the choosenim readme on github but I missed those 2 options.

[Karax] "include" statement doesn't work correctly inside karax DSL

2022-04-01 Thread veksha
Hello. I don't know if it is a bug or my mistake. If it is a bug, then is it a Nim or Karax issue? this works: #test.nim import karax/[karaxdsl,vdom] let res = buildHtml(html): head: meta() echo res # Run this doesn't :

SiSix and Nim

2022-04-01 Thread Zoom
I'd like to announce that my new employer, **" Rockstar Open Foundation Ltd."®**, joins forces with SiSix in their next big endeavour: **Rockstar Intermediate Representation Initiative™**. To facilitate faster growth of the new RISC 6 ecosystem, ROFL® is aiming to develop a set of modern toolin

Choosing the nim installation folder used by choosenim

2022-04-01 Thread PMunch
According to `choosenim --help`: --choosenimDir: Specify the directory where toolchains should be installed. Default: ~/.choosenim. --nimbleDir: Specify the Nimble directory where binaries will be placed. Default: ~/

Choosing the nim installation folder used by choosenim

2022-04-01 Thread didlybom
Is there a way to choose the nim installation folder as well as the storage folder that choosenim uses? My company laptop is pretty locked down but we have a "special" folder in which we can basically install / copy anything we want (and in which the antivirus software that we cannot configure i