Skip to content
The compilations of basic; the chronicles of group 26
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
basic-v
docs
libs
tests
.gitignore
.gitmodules
LICENSE.md
README.md
STYLEGUIDE.md
basic-v.sln

README.md

Basic-V

Build Status

Basic V is a compiler for a new subset of Basic to Risc V. The subset is designed around BBC BASIC as well as some incorporations from Visual Basic. The language is designed to be minimal and bloat free to allow it to easily run on up and coming embedded systems using the Risc V architecture.

Status

This project is still under active development and has not yet reached a stable version until v1.0 it is not recommended for any production work as there is currently no guarantee of backwards compatibility and features may be added, removed or changed as the team see fit.

Design

The project is modularised with each stage of compilation having its own independent compile target as to provide a more stable program and to allow each one to be easily developed independently though with some shared files and data for consistency.

The current modules are:

  • Lexer - Parses a text input and output a series of tokens.
  • Parser - Checks the syntax of the program and generates an AST (Abstract syntax tree).
  • Compiler - Handles assembly code generation from the AST.

Style guide

STYLEGUIDE

License

MIT

You can’t perform that action at this time.