GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Brooklyn-Dev/pseudocode-ocr: Syntax highlighter and opinionated superset of the OCR A-level Computer Science Specification.

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
snippets
snippets
 
 
syntaxes
syntaxes
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
icon.png
icon.png
 
 
language-configuration.json
language-configuration.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Pseudocode OCR

Visual Studio Code Visual Studio Marketplace Version GitHub Issues License

Syntax highlighter and opinionated superset of the OCR A-level Computer Science Specification.

Made for Hack Club's YSWS Extensify.

Logo

This extension aims to enhance the experience of students taking the OCR A-level Computer Science course by providing syntax highlighting for pseudocode written in the design section of the NEA (Non-Exam Assessment.)

  • Use the .ocr file extension to disable the extended syntax. This will only highlight valid OCR exam reference language.
  • Use .pseudo or .pseudocode file extensions to enable extended syntax highlighting

While pseudocode often isn't used in industry, it is an essential component of the NEA. This extension makes writing and reading pseudocode more pleasant and structured.

Extended Syntax

Syntax stays faithful to the offical OCR exam reference language, while introducing practical extensions for real-world design and NEA coursework, which are:

  • Extended number system: binary, octal, hexadecimal, scientific notation
  • Block comments: /* */
  • Bitwise operators: XOR, LSHIFT, RSHIFT
  • Access modifiers: protected, static, const, readonly, local, abstract
  • Extended conditionals: elif
  • Control flow: continue, break
  • Constants and values: null, undefined
  • Object references: this, self
  • Iterative constructs: each, in
  • Instance properties: size, count
  • Exception handling: try, catch, finally, throw, raise, endtry
  • Concurrency: async, await
  • Data structures: struct, endstruct, enum, endenum, interface, endinterface, implements

Snippets

Code snippets are only supported for core programming constructs.

  • Classes: class, classinherits
  • Condition-controlled iteration: while, do
  • Count-controlled iteration: for, forstep, foreach
  • Subroutines: procedure, function
  • Selection: if, ifelse, ifelseif, switch

Disclamer

  • I am not affiliated with OCR (Oxford Cambridge and RSA Examinations)
  • I am a student studying OCR A-level Computer Science
  • This extension is an unofficial tool created to help fellow students
  • Please refer to the official OCR specification for correct exam pseudocode syntax
  • This extension is provided as-is for educational purposes

Like this project?

If you find this project interesting or useful, consider giving it a star ⭐️!

License

This project is licensed under the MIT License. See LICENSE for more information.

About

Syntax highlighter and opinionated superset of the OCR A-level Computer Science Specification.

marketplace.visualstudio.com/items?itemName=BrooklynDev.pseudocode-ocr

Topics

a-levela-level-computer-scienceextensionocrsyntax-highlightingtextmate-grammarvscode-extensionvscode-syntax

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.