Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.51 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.51 KB

IBDP Computer Science Pseudocode Utilities

Documentation

There is nothing real here yet, since the school year hasn't even started. You could expect this repository to be populated within the next one or two years.

This is written for the syllabus assessed from 2014 to 2026. Assessments in 2027 and later are beyond the scope of this project.

Linxuan Ma previously created a pseudocode IDE in JavaScript. I see the need for a IB Pseudocode compiler and debugging environment, but modern Web technology is inaccessible in my usual workflow. Therefore, I've set out to create a pseudocode compiler with much simpler technology, namely:

  • Use lex yacc, or another means of parsing that's similarly simple.
  • Transpile to POSIX-compliant C, or Lua.
  • Preferrably, the ability to use standard debugging environments like GDB and rr
    This is likely impossible as I'm transpiling rather than using QBE/LLVM IL. Some debugging utilities must then be added, such as the ability to print every line of code as they are executed.
  • It should be able to run on musl Linux, glibc Linux, OpenBSD, and FreeBSD. macOS does not implement POSIX.1-2007 or later, but it should not be that hard to port to.