Skip to content

Instantly share code, notes, and snippets.

View jyapayne's full-sized avatar

Joey jyapayne

  • Edmonton, AB, Canada
  • 08:15 (UTC -06:00)
View GitHub Profile
@jyapayne
jyapayne / README.md
Last active March 13, 2024 18:47
Nim LLDB VSCode Debug Config

Needs this PR. Put these files in the .vscode folder in the root of your Nim project directory.

Also needs the CodeLLDB extention for VSCode.

Then you should see Debug Refc and Debug ORC in your debugging options.

@jyapayne
jyapayne / bfWorking.nim
Created March 22, 2020 01:13
Working brainfuck interpreter. Helping drguildo3h on nimforum
import os
import strutils
import system
import tables
var data: array[30_000, byte]
# you'll want to use a uint8 here so that a dec() at dataPointer == 0 will
# result in dataPointer == 255 instead of -1 with an int type
var dataPointer: uint8 = 0
@jyapayne
jyapayne / helloworld.rs
Created April 29, 2019 13:43
Rust hello world
fn main() {
println!("Hello World!");
}

Keybase proof

I hereby claim:

  • I am jyapayne on github.
  • I am jyapayne (https://keybase.io/jyapayne) on keybase.
  • I have a public key ASDwJIv3IiSUxa6qYzf_rT0hL3rZtMyK03RQnSQ56k4vOwo

To claim this, I am signing this object: