15 Commits

Author SHA1 Message Date
Dania Rifki
b3feccf770 Add YueScript as an additional scripting language (#2743)
* Publish Code

* Fixed YueScript build.

* Disabled macro feature which crashes runtime.

* Update YueScript submodule

* Try to fix the "function TIC()..." isn't found bug, no luck so far...

* Fix Demo and Mark

* Format yue.cpp

* Make it work in C99, let's hope this compiles in Win XP et cetera

* Fix Compilation Issues

* Try fixing rpi-baremetal(4) and nintendo-3ds builds

* Try fixing linking

* Reenable Exceptions

* Override YueParser

* Try forcing newer glibc?

* Debugging Build Step

* Update YueScript version

* Simplify build

* Add yue.cpp

* Whoops

* Update YueScript

* Update circle.patch to try to fix the build error

* Try removing -lstdc++fs

* Modify Patch

* Revert Update circle.patch

* ???

* Forgot to git Apply

* Accidentally put it in macOS instead of N3DS

* Remove platform specific configurations for now

* Remove thread_local for N3DS Build

* Use a more reliable way to disable thread_local on N3DS

* Forgot to pass in initial-exec

* Remove build/yuescript-makefile-remove-stdc++fs.patch

* Include libyuescript in the baremetal Makefile

---------

Co-authored-by: Li Jin <dragon-fly@qq.com>
2025-10-20 19:08:09 +02:00
iyzsong
fcfd7c9862 Fix deprecated features for lua/fennel. (#2759)
Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
2025-03-08 08:02:08 +01:00
iyzsong
56a9f73323 Allow build with system libraries. (#2758)
Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
2025-03-07 21:33:35 +01:00
Vadim Grigoruk
d348ab1d02 Revert "Swap LUA_COMPAT_5_2 for LUA_COMPAT_5_3, since we're in Lua 5.4 now (#2728)"
This reverts commit 028a11825f.
2025-01-04 18:44:08 +01:00
Vadim Grigoruk
f6e5bf759a Revert "Update lua to latest v5.4 (#2693)" because of incompatibility with some carts
This reverts commit 89927fd983.
2025-01-04 18:44:08 +01:00
minerobber
028a11825f Swap LUA_COMPAT_5_2 for LUA_COMPAT_5_3, since we're in Lua 5.4 now (#2728) 2024-12-14 13:12:24 +01:00
Miguel
ce24e76341 Update 3ds docker toolchain (#2701)
* update 3ds docker

* try to fix 3ds lua error

* revert and try to fix wren error

* disable lua and scheme for 3ds

* try to fix lua

* try to fix lua

* try to fix lua

* test

* revert

* try to fix lua

* test

* test

* continue

* possible last lua fix

* disable javascript in 3ds

* disable js correctly

* disable python for 3ds

* try to fix script.c

* try to fix another error

* test

* try to fix miniaudio

* test

* test

* test

* test

* test

* test

* try to fix gif errors

* test

* test

* test

* continue

* try with official devkitarm docker image

* test

* clean

* proper miniaudio fix

* mianiaudio version used before

* use cmake to build 3dsx

* use explicit name

* fix 3ds build instructions

* use NINTENDO_3DS from devkitPro cmakery

* fixup build commands

* output to build/bin

* update tested version

---------

Co-authored-by: Dave Murphy <davem@devkitpro.org>
2024-11-11 14:22:32 +01:00
Miguel
89927fd983 Update lua to latest v5.4 (#2693)
* use circle-stdlib master for baremetal rpi4

* revert

* update:     vendor/lua

* Update lua.cmake

---------

Co-authored-by: Miguel Hervás Palomares <miguel@debian-BULLSEYE-live-builder-AMD64>
2024-10-06 10:32:15 +02:00
Alice
81de993d66 Cleanup: remove all trailing spaces from the source code (#2664)
* `cmake`: Remove trailing spaces

* `build`, `src`: Remove trailing spaces

* `templates`: Remove trailing spaces

* `demos`: Remove trailing spaces

* `include`: Remove trailing spaces
2024-08-26 21:01:59 +02:00
Vadim Grigoruk
5d60c02469 build langs separately for wasm 2024-05-25 17:33:25 +02:00
nesbox
3dfc2ed638 #2257: deploy scripts as shared libs 2024-05-19 15:37:46 +02:00
Vadim Grigoruk
505e817280 merge shared api to main branch (#2568) 2024-05-05 17:02:25 +02:00
Vadim Grigoruk
4ffa300ba0 #2257: build languages as shared libs (#2519)
* added BUILD_STATIC=OFF option to split scripts to shared libs

* rpi build fix

* rpi build fix

* macos build fix

* rpi baremetal build fix

* build fix

* call api without macro

* wren build fix

* clang build fix

* baremetal fix

* fixed python and janet shared libs
2024-04-21 13:02:31 +02:00
Vadim Grigoruk
4a8cd417d4 Added cmake build options for all the supported scripts (#2423) 2023-12-26 18:51:53 +03:00
Vadim Grigoruk
5f26aa8441 Split CMake into submodules (#2421) 2023-12-26 16:36:21 +03:00