Skip to content

A WebAssembly-to-SmileBASIC transpiler, allowing 100% legal C++ on Nintendo 3DS

License

Notifications You must be signed in to change notification settings

TheFakeMontyOnTheRun/Emsmilen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emsmilen

A quick hack on top of SmileBASIC for the 3DS, a lot like Emscripten

It uses WebAssembly disassemblies (compiled with Emscripten and disassembled with Bynarien), and after a quick tweak, generates BASIC equivalent code, to be used inside SmileBASIC programs, meant to run on the Nintendo 3DS.

This allows for C++ code to be ported to the 3DS in a 100% legal form.

An old version

Project status: This is a proof of concept (and a quick hack), so only the basics are supported:

  • importing functions
  • pointer handling
  • function calls
  • for loops
  • while loops
  • if then else
  • returning values
  • returning void

Whats not supported:

  • unsigned values
  • values bigger than byte
  • polymorphism (in fact, most of C++ advanced features)
  • function pointers (just like polymorphism, it requires jump tables)

About

A WebAssembly-to-SmileBASIC transpiler, allowing 100% legal C++ on Nintendo 3DS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published