Code Monkey home page Code Monkey logo

bfcc's Introduction

Steve Kemp

  • I've been programming for over half my life, I'm comfortable creating, developing, maintaining, and improving software written in C, C++, Emacs Lisp, Perl, Ruby, Java, Shell, TCL, etc.
    • Most of my new projects are written in Golang.
    • But also I've been writing code in Z80 assembly language, to run under CP/M and the humble ZX Spectrum 48k.
  • My interests primarily revolve around compilers, interpreters, domain-specific languages, and virtual machines.
  • Location: Helsinki, Finland.
  • Occupation: Sysadmin / Devops / Cloud-person.
Github Activity

bfcc's People

Contributors

skx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bfcc's Issues

Support both C & Assembly

In the past we generated C source file, and compiled via gcc.

Then we swithced to generating assembly language source, compiling via nasm.

We should allow both. Add a "backend" and let the user choose which to run.

Rewrite with a lexer, parser, etc.

At the moment bogus input will cause problems. We kinda assume things are well-formed, because we're very naive.

If we wanted to be robust we should implement a lexer/parser, and work on tokens. We could then add error-handling, proper test-cases, etc, etc.

  • This would make the code bigger.
  • It would allow us to support both C and Assembly language output though.

Not a huge priority, but I guess I could take a look at it in the near future.

Add an interpreter ..

Since we have plugabble back-ends it might be nice to have a simple interpreter implemented as one.

It kinda defeats the point of us being a compiler but it also demonstrates the speedup gained by actually compiling.

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.