James Craig Burley
James Craig Burley
My cmd.exe brings up black-on-white (white-background) windows, and running a `readline` client ([Joker](https://github.com/candid82/joker)) causes everything after the prompt to be black, until typing onto it. Other than the color differences,...
E.g. given: ``` #include int main() { printf("num1=%d, num2=%u\n", 3, 4); return 0; } ``` The **.go** file excerpt reads: ``` func main() { noarch.Printf((&[]byte("num1=%d, num2=%u\n\x00")[0]), int32(3), int32(4)) return }...
Though I've completed the task I originally set out to perform, I spent a fair amount of time last night trying to track down a crash in **lisp-zero-go**, generated from...
Whether one has this: ``` int inc(void) { static int counter; return ++counter; } ``` Or this: ``` int inc(void) { static int counter; return counter++; } ``` The resulting...
Attempting to transpile https://github.com/jcburley/LispZero/blob/master/lisp-zero.c, I get this: ``` $ c2go transpile lisp-zero.c panic: invalid identity: 'BSstructSatSShomeScraigSgithubSLispZeroSlispTzeroPcD329D9E *' goroutine 1 [running]: github.com/elliotchance/c2go/util.NewIdent(0xc4208447d7, 0x3c, 0xc420844a50) /home/craig/.go/src/github.com/elliotchance/c2go/util/goast.go:231 +0xa7d github.com/elliotchance/c2go/transpiler.transpileRecordDecl(0xc4201e8120, 0xc42023ee70, 0xc420a653a0, 0xc4201e8120, 0x6c5e00,...
The `static` keyword appears to be effectively ignored as far as the resulting **Go** code is concerned. E.g. this should print three different numbers (typically "3 2 1" or "1...
The second level of pointer indirection is lost: ``` struct cw_s { char const *name; }; struct cw_s **get_p(char const *name); struct cw_s * lookup(char const *name) { struct cw_s...
I tried running a program that expected at least one argument, without providing arguments, and got this: ``` $ ./cljc GC Warning: Failed to expand heap by -4096 bytes GC...
Clojure supports `(load "filename")`, while Joker supports `(load 'namespace)` (which Clojure does not). Seeing as Clojure's own `core.clj` uses `(load "core_otherstuff.clj")` to pull in definitions from "helper" files in the...
A fix made to address this issue might be important for Joker: https://github.com/peterh/liner/issues/142 (Then again, I'm not sure (offhand) how to get Joker's liner to prompt for a password?)