cleanup: restructured platform layer code
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Sun, 5 Mar 2023 04:23:50 +0000 (22:23 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Sun, 5 Mar 2023 04:23:50 +0000 (22:23 -0600)
commit52ef74ffdc93c9f0f6ead8852b8164d9e650a66c
treece4aec6db2612a4cc4101cc8dfccd5e7f05bb76e
parentb41504ca6e05fdc0e208ef34f3f2267b89c19a2b
cleanup: restructured platform layer code

Platform layer code was scattered and undocumented what was expected.
This has been remedied, and a good baseline has been defined.
30 files changed:
core/io/stdio.onyx
core/net/net.onyx
core/net/tcp.onyx
core/onyx/fs.onyx [deleted file]
core/os/dir.onyx
core/os/file.onyx
core/os/os.onyx
core/os/process.onyx
core/runtime/common.onyx
core/runtime/js.onyx [deleted file]
core/runtime/onyx_run.onyx [deleted file]
core/runtime/platform/js/platform.onyx [new file with mode: 0644]
core/runtime/platform/onyx/fs.onyx [new file with mode: 0644]
core/runtime/platform/onyx/platform.onyx [new file with mode: 0644]
core/runtime/platform/wasi/clock.onyx [new file with mode: 0644]
core/runtime/platform/wasi/env.onyx [new file with mode: 0644]
core/runtime/platform/wasi/platform.onyx [new file with mode: 0644]
core/runtime/platform/wasi/wasi_defs.onyx [new file with mode: 0644]
core/runtime/platform/wasi/wasi_fs.onyx [new file with mode: 0644]
core/runtime/wasi.onyx [deleted file]
core/std.onyx
core/threads/thread.onyx
core/time/date.onyx
core/time/time.onyx
core/wasi/README.md [deleted file]
core/wasi/clock.onyx [deleted file]
core/wasi/env.onyx [deleted file]
core/wasi/wasi.onyx [deleted file]
core/wasi/wasi_fs.onyx [deleted file]
docs/ideas/platform_layer.md [new file with mode: 0644]