oakc icon indicating copy to clipboard operation
oakc copied to clipboard

A portable programming language with a compact intermediate representation

Results 28 oakc issues
Sort by recently updated
recently updated
newest added

@adam-mcdaniel Please add more documentation for Oak.

documentation
good first issue

This PR implements the `String` type in `core.ok`, and adds some extensions to the `core.target` files to make memory management more efficient.

This PR adds the `modulus` method to `Target`, which implements the integer modulus operation. It also adds an example named `mod.ok` which demonstrates finding the days in each month and...

Right now, for loops look like the following: ```rust for (let i=0; i

Im wondering what would be needed to add variadic functions. As it would greatly help to implement `printf` and change the following code: ```rust putstr("the first occurence of '"); putchar(needle);...

enhancement

This PR adds memory leak checks at the end of execution. All this really does is iterate over the `allocated` bitmask to check if any data has not been freed....

memory
error handling

I have been doing a bit of research on how to improve error reporting by capturing information about the original source file. Larlpop does not support anything out of the...

enhancement
error handling

To make programs more correct, runtime checks could be added for determining whether or not the program is accessing memory it does not own. To be a valid pointer, it...

hardening
memory
error handling

I created a barebones VS Code extension implementing syntax highlighting support at https://github.com/kevinramharak/oak-syntax-highlighting. Most of it is based on the rust grammar, but it can easily be extended to support...

enhancement

It would be nice to support the following integer literals: ```rust let binary = 0b0110; let octal = 0o777; let hex = 0xdead; ``` I think forcing the `b`, `o`...

enhancement