kjyu / quv

QuickJS ❤️ libuv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quv — QuickJS ❤️ libuv

Build Status

This is an experiment in using libuv as the platform layer for QuickJS.

Currently the following is already implemented in the quv (formerly qjs) interpreter, using libuv:

  • TCP and UDP sockets
  • TTY handles
  • Unix sockets / named pipes
  • Timers
  • Signals
  • Basic file operations
  • Event loop
  • High-resolution time
  • Miscellaneous utility functions
  • Worker threads
  • Child processes
  • DNS (getaddrinfo)

Other extras:

  • TextEncoder / TextDecoder APIs

See the full API.

Building

CMake is necessary. This has been mostly tested on macOS, YMLMV.

# Compile it!
make
# Run the REPL
./build/quv

About

QuickJS ❤️ libuv


Languages

Language:C 55.1%Language:JavaScript 44.0%Language:CMake 0.8%Language:Makefile 0.2%