Myrddin is a language that I put together for fun, but which has developed
delusions of usefulness. It's a complete reinvention of the wheel, from the
ground up. Some of the major things you'll notice about it:
- Type inference. Types are inferred across the whole program.
- Algebraic data
That looks really neat! One question: are runtime bound checks really
necessary? I would at least like a seperate release mode that gets rid of them.
Writing a kernel with bound checks would be a mixed nightmare!
FYI, please tell me I'm not the only person reminded of Rust...
Ori Bernstein wro
i am getting a build error:
../myrbuild/6.out -C../6/6.out -M../muse/6.out -l sys sys.myr systypes.myr
ifreq.myr syscall.s util.s
../6/6.out systypes.myr
../6/6.out sys.myr
/tmp/tmp7109d3e2d-sys.myr.s:2 syntax error, last name: zd
nam: LNAME offset.( pointer )
saw ;
Ah, I forgot about that: This is a bug with Ape's printf; It's missing
the %z specifier to print size_ts.
The below patch fixes it, although I seem to remember that 9atom
has a rewritten ape -- I'm not sure if this will apply:
diff -r 40f67c7db147 sys/src/ape/lib/ap/stdio/vfprintf.c
--- a/sys/sr
I could do it pretty easily, although I'd be curious to see what you
think makes it harder to write a kernel with bounds checks. At least
for me, I'd rather keep them the same.
At least on with Intel's current out of order processors, they are
shockingly cheap, and can be made much cheaper with (n
interesting; i especially liked the "Why Myrddin" section :)
i didn't see the obligatory 9P implementation in it; is there one?
On Sun Jan 04 2015 at 1:07:47 AM Ori Bernstein wrote:
> Myrddin is a language that I put together for fun, but which has developed
> delusions of usefulness. It's a co
Not yet. I haven't needed a 9p implementation yet; no file servers have bubbled
to the top of my queue of code to write at this point, and I'm wary of writing
APIs without at least some user in mind.
On Sun, 04 Jan 2015 19:51:38 +
Skip Tavakkolian wrote:
> interesting; i especially liked th
Hmm. Didn't Tolstoy write a short story called "How Many Languages does a
Man Need"?
On 4 January 2015 at 21:59, Ori Bernstein wrote:
> Myrddin is a language that I put together for fun, but which has developed
> delusions of usefulness. It's a complete reinvention of the wheel, from the
> groun
Thanks to Erik, who helped with squashing a decent number of bugs.
On Sun, 4 Jan 2015 00:59:00 -0800
Ori Bernstein wrote:
> Myrddin is a language that I put together for fun, but which has developed
> delusions of usefulness. It's a complete reinvention of the wheel, from the
> ground up. Some o