Kevin Ramharak

Results 83 comments of Kevin Ramharak
trafficstars

Well my target has no OS for example. So it is pretty much already cross compiling to a target with no OS. I understand its intent, but i assume most...

Right, I just checked it and never realised C works like that. So the VM implementation (and the code generated to kickstart it) would be the runtime and required? Any...

I like the idea of both flags being optional. As with constants id suggest to see how it evolves.

It is indeed 'unsafe' but that is just because Rust wants to be able to reason about the variables and its access in a multithreading environment. You can wrap code...

You can look at this commit https://github.com/kevinramharak/oakc/commit/c1727cbebf7926d435a0fcc6ceb189a5976d1418#diff-a0d44f3f45a877f81e862f4806d19f4c7b8f026afd68f98e5a1eb74b0a6f71ca to see how I used to use static without having to mark whole functions as unsafe. You could instead use a [struct](https://github.com/kevinramharak/oakc/blob/mar/develop/src/target/mar.rs#L19) to...

Except it is impossible to escape it. Unless im writing the wrong sequence but from what i have tested nothing of the following will generate a `*`: `\*`, `\\*` and...

Hm, i don't fully understand the problems here. All the stdlib spec has to do is define a function that allows the programmer to print to stdout. Your standard library...

Hm, how would that limit portability? I think it all depends on what the program intention is. If i write a program and stdlib spec says that `print` prints to...

Thank you for implementing this feature. Do you know what needs to be added to the frontend to complete this feature?

I have left this one open for way to long. Will try to finish it this week.