ValKmjolnir
83c8d327bb
🐛 fix builtin_err in module to nas_err
2022-08-04 21:20:27 +08:00
ValKmjolnir
49a7ed28e9
🚀 change std::string to string, change identifiers' name, -o is now a function available in debug mode.
2022-07-23 17:00:25 +08:00
ValKmjolnir
7c1d45a200
🚀 update makefile to choose different compilers by users & fix some codes for MSVC to compile.
2022-07-16 16:53:11 +08:00
ValKmjolnir
ec308f8053
⚡ optimize codes. details:
...
1. delete gc::builtin_alloc
2. add convenient way of getting new string object: gc::newstr, and shrink the size of codes
3. update doc
4. add gc::temp to be used in native/module functions to avoid being recognized as garbage incorrectly when triggered mark-sweep
2022-07-07 17:51:30 +08:00
ValKmjolnir
503b834f05
📝 update test/httptest.nas
2022-06-11 12:49:26 +08:00
ValKmjolnir
20a4a4df4e
🚀 finish socket library:
...
socket.socket()
socket.closesocket()
socket.shutdown()
socket.bind()
socket.listen()
socket.connect()
socket.accept()
socket.send() socket.sendto()
socket.recv() socket.recvfrom()
socket.errno()
2022-06-08 19:06:16 +08:00
ValKmjolnir
a166134cc5
🚀 add module/libsock.nas, preparing to add socket lib into this language.
2022-06-06 16:34:21 +08:00