Viewing profile — jorkingit
jorkingit
HN member- Joined
- Thu, Oct 10, 2024, 4:55 AM UTC
- HN karma
- 65
- Public activity
- 14 items
- HN profile
- View on Hacker News ↗
About jorkingit
No profile information was provided.
Recent public activity
-
comment
Comment #44552441
[flagged]
-
comment
Comment #44324797
I was wondering how they managed to reflect the names of struct fields: looks like https://stackoverflow.com/a/77464529 explains the general idea. Where there's a will, I guess...
-
comment
Comment #44272314
Smalltalk does the same thing!
-
comment
Comment #44266174
Great work! Just an FYI, you might want to limit the dynamic allocation size in the bencode decoder: since it's untrusted input (either from torrent or announce), a malicious input…
-
comment
Comment #44203260
I suspect the answer is 3: SKI combinator calculus is Turing complete and you need 3 de Bruijn indices to define S. Good call! I got rid of all numbers above 2, I can't count that …
-
comment
Comment #44203026
I did take some inspiration from Unlambda: the prefix application syntax is cool! I/O in Unlambda is super weird though! You get a read character instruction that puts it into a ch…
-
comment
Comment #44200644
https://github.com/imjakingit/lambduck
-
comment
Comment #44199110
I saw this the other day! I salute you, it's so much more evil :-) And yup, the order of evaluation is leftmost innermost. ``\\0`,.`,. with stdin "hi" will print "hi".
-
comment
Comment #44198424
It should be! e.g. if every function takes a continuation as its final argument, then: call/cc& = \f. \k. f k k Then in f you can invoke the continuation k as many times as you wan…
-
comment
Comment #44197941
You can always write it in continuation-passing style if you really want continuations! It's not pleasant but none of this is supposed to be ;-) Agreed on having too many character…
-
comment
Comment #44197897
getchar does take a continuation of sorts (as in continuation passing) which is passed the input. In one my initial drafts, getchar was a special form that would accept input at th…
-
comment
Comment #44197291
Thanks! I'm torn on having the character literals actually; they're definitely syntactical sugar, but I was struggling to write programs that printed anything without them getting …
-
comment
Comment #44197256
Hello world should be: ``\\1`.'h``\\1`.'e``\\1`.'l``\\1`.'l``\\1`.'o``\\1`.' ``\\1`.'w``\\1`.'o``\\1`.'r``\\1`.'l``\\1`.'d`.'!
-
story
Show HN: Lambduck, a Functional Programming Brainfuck
What if Brainfuck was less like C and more like Scheme? The interpreter implemetation is pretty bad. It's not very fast, it's not very good, and it's probably not very correct. But…