Git Product home page Git Product logo

nesfab's Introduction

NESFab

NESFab is a new programming language for creating NES games.

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:

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 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.

nesfab's People

Contributors

pubby avatar polluks avatar claui avatar mrobinson513 avatar hxlnt avatar foobles avatar fractal161 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.