Nikhil Idiculla

Results 8 comments of Nikhil Idiculla

Hi all. I'm afraid I cannot compile the generated C code using GCC on Ubuntu 20.04 on WSL2. I keep receiving these compiler errors about the constant expressions. There's a...

> @tsnl Could you test on my last commit ([c0b8a02](https://github.com/Kindelia/HVM/commit/c0b8a02563a928db2bd364dc0709c0262b964a71)) ? That fixed it! Thank you so much. ^_^

I also noticed the C template depends on `sys/time.h` which would need to be replaced. We can use the native MSVC thread APIs to replace ``. I'm working on a...

@quleuber I have a WIP branch here: currently, I'm using the generator tokens as 'includes'. This should be a 'best of both worlds' approach: the `runtime.c` file is mostly unmodified,...

@quleuber would something like this work? The user would need to add a `-I/path/to/hvm/src/runtime_deps` flag when compiling. This can be a hassle to set up with some editors, but avoids...

> Do you mean, to compile the standalone runtime.c file, while developing? Yes, precisely! > But would be pretty bad on user side, it would make it a lot harder...

[I've implemented the cross-platform interface for `time` and `thread`.](https://github.com/tsnl/HVM/commit/4c5fb72255e0ac7e292cbc0e02e805a9b2b09ae4) While Linux seems to use it without too many problems, Windows is still missing functions for Condition Variables, which will be...

@quleuber I believe the previous version just replaced the opening tag, and did not match across multiple lines. This one replaces the whole 'open.body.close' chunk. Sorry I haven't had a...