Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | start migrating handles to fat pointers | Kartik Agaram | 2020-05-18 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | CI will fail from this commit onward. Currently working: $ bootstrap translate init.linux 0[4-7]*.subx 080zero-out.subx -o a.elf && ./a.elf test $ bootstrap run a.elf test $ chmod +x a.elf; ./a.elf test Plan: migrate functions that used to return handles to pass in a new arg of type (addr handle). That's a bit of a weird type. There should be few of these functions. (Open question: do we even want to expose this type in the Mu language?) Functions that just need to read from heap without modifying the handle will receive `(addr T)` or `(handle T)` types as arguments. As I sanitize each new file, I need to update signatures for any new functions and add them to a list. I also need to update calls to any functions on the list. | ||||
* | 6153 - switch 'main' to use Mu strings | Kartik Agaram | 2020-03-15 | 1 | -7/+38 |
| | | | | | | | | | | | At the SubX level we have to put up with null-terminated kernel strings for commandline args. But so far we haven't done much with them. Rather than try to support them we'll just convert them transparently to standard length-prefixed strings. In the process I realized that it's not quite right to treat the combination of argc and argv as an array of kernel strings. Argc counts the number of elements, whereas the length of an array is usually denominated in bytes. | ||||
* | 6007 | Kartik Agaram | 2020-02-14 | 1 | -2/+2 |
| | |||||
* | 6006 | Kartik Agaram | 2020-02-14 | 1 | -2/+2 |
| | |||||
* | 5924 | Kartik Agaram | 2020-01-27 | 1 | -3/+3 |
| | |||||
* | 5850 - driver script for translating Mu programs | Kartik Agaram | 2020-01-01 | 1 | -0/+25 |