yasl-lang / yasl

Bytecode Interpreter for Yet Another Scripting Language (YASL).
MIT License
65 stars 14 forks source link

Fix printing UTF-8 read from file on Windows #463

Closed ryco117 closed 1 year ago

ryco117 commented 1 year ago

Also, cleanup some spacing nit-picks and fix the targeting of libdl when cross-compiling for Windows by changing UNIX, which apparently cross-comping for Windows is, to NOT WIN32 which produces the expected behavior when cross-compiling or building locally for Linux.

Finally, open with rb file-flags for all YASL state initialization functions.