nesfab
所属分类:编程语言基础
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2023-06-27 18:14:19
上 传 者:
sh-1993
说明: 针对任天堂娱乐系统的编程语言
(Programming language that targets the Nintendo Entertainment System)
文件列表:
COPYING (35149, 2023-12-08)
Makefile (5006, 2023-12-08)
doc/ (0, 2023-12-08)
doc/LICENSE_1_0.txt (1338, 2023-12-08)
doc/doc.adoc (151367, 2023-12-08)
examples/ (0, 2023-12-08)
examples/4_player/ (0, 2023-12-08)
examples/4_player/4_player.cfg (95, 2023-12-08)
examples/4_player/main.fab (1390, 2023-12-08)
examples/4_player/sprite.png (143, 2023-12-08)
examples/LICENSE_1_0.txt (1338, 2023-12-08)
examples/animation/ (0, 2023-12-08)
examples/animation/animation.cfg (155, 2023-12-08)
examples/animation/main.fab (2213, 2023-12-08)
examples/animation/sprite.png (1740, 2023-12-08)
examples/billiards/ (0, 2023-12-08)
examples/billiards/bg.png (3056, 2023-12-08)
examples/billiards/billiards.cfg (158, 2023-12-08)
examples/billiards/main.fab (3516, 2023-12-08)
examples/build_all.sh (827, 2023-12-08)
examples/cnrom/ (0, 2023-12-08)
examples/cnrom/chr0.png (1114, 2023-12-08)
examples/cnrom/chr1.png (1030, 2023-12-08)
examples/cnrom/chr2.png (1105, 2023-12-08)
examples/cnrom/chr3.png (1123, 2023-12-08)
examples/cnrom/cnrom.cfg (91, 2023-12-08)
examples/cnrom/main.fab (1037, 2023-12-08)
examples/counter/ (0, 2023-12-08)
examples/counter/counter.cfg (162, 2023-12-08)
examples/counter/font.png (1648, 2023-12-08)
examples/counter/main.fab (648, 2023-12-08)
examples/fade/ (0, 2023-12-08)
examples/fade/bg.png (2225, 2023-12-08)
examples/fade/fade.cfg (99, 2023-12-08)
examples/fade/main.fab (1142, 2023-12-08)
examples/fn_ptr/ (0, 2023-12-08)
examples/fn_ptr/fn_ptr.cfg (77, 2023-12-08)
examples/fn_ptr/main.fab (999, 2023-12-08)
... ...
# NESFab
NESFab is a new programming language for creating NES games.
- **Website:** http://pubby.games/nesfab.html
- **Documentation:** http://pubby.games/nesfab/doc.html
- **Discord:** https://discord.gg/RUrYmC5ZeE
## License
- The NESFab compiler (`src/`) is licensed under GPL 3.0 (see `COPYING`).
- The NESFab standard library (`lib/`), examples (`examples/`), and documentation (`doc/`) are licensed under the Boost Software License 1.0 (See `lib/LICENSE_1_0.txt`).
TL;DR: If you make a game using NESFab, your code can remain private, and you do not need to include attribution in your binary release.
## Building
**Requirements:**
- [GCC Compiler](https://gcc.gnu.org/), supporting the C++20 standard.
- [Boost Library](https://www.boost.org/) (You may also need the `libboost-program-options-dev` package)
- [Make](https://www.gnu.org/software/make/)
NESFab can be built in either debug mode, or release mode.
- Debug mode includes runtime sanity checks to ensure the compiler is working correctly.
- Release mode has no checks and is optimized for speed.
To build in debug mode, run:
make debug
To build in release mode, run:
make release
By default, the compiler builds executables for the x86-64 architecture.
To target others, specify a blank `ARCH` flag:
make ARCH=release
By default, the NESFab compiler builds binaries that use unofficial ("illegal") instructions.
To force the compiler to only use official ones, compile the compiler with the following flag:
make ISA=legal
## Bug Reports
Post bug reports on the Github issues page and
include a [minimal reproducible example](https://en.wikipedia.org/wiki/Minimal_reproducible_example) if possible.
When testing bugs, use the debug-mode compiler. It gives far better diagnostics.
## Contributing
Small fixes are welcome and can be submitted as Github pull requests.
For anything larger, open a Github issue prefixed with "Contrib Request:" and what you'd like to do, and await approval before starting.
## Made Something?
If you made a project using NESFab, please get in touch! It would be great to hear about.
近期下载者:
相关文件:
收藏者: