hobby attempt to implement V8 based JS runtime
$ make
$ ./done ./samples/test.js
- very basic
console.log
- es modules
import
- es modules dynamic
import()
-
exit(code: number)
implemented as winter TC proposed standard https://github.com/wintercg/proposal-cli-api?tab=readme-ov-file#exiting -
TextDecoder
with support only forutf-8
/utf8
decoding -
TextEncoder
-
prGocess.argv
all program arguments -
done.interpretArgv
function to retrieve all interpretedargv
s -
done.syscall
exposes linux syscall's to js side-
getaddrinfo
-
socket
-
connect
-
recv
-
send
-
close
-
glob
-
posix_spawn
-
waitpid
-
-
--test
flag which is very basic test runner (used in done.js to actually test js land) - basic
URL
(only features needed infetch
) - basic
fetch