1. Home
  2. /
  3. Bcpl
  4. /
  5. Todo List

Todo List - Bcpl Typing CST Test

Loading…

Todo List — Bcpl Code

Maintains a simple todo list with add and remove functionality.

LET todos = []
FUN addTask(task) =
	APPEND(todos, task)
	WRITEF("Todos: %S\n", todos)

FUN removeTask(index) =
	DELETE(todos, index)
	WRITEF("Todos: %S\n", todos)

# Simulate actions
addTask("Buy milk")
addTask("Write BCPL code")
removeTask(1)

Bcpl Language Guide

BCPL (Basic Combined Programming Language) is a minimalist, typeless systems programming language designed for writing compilers, operating systems, and early software infrastructure.

Primary Use Cases

  • ▸Compiler and interpreter development
  • ▸Operating system prototyping
  • ▸Low-level systems programming
  • ▸Teaching early programming language design
  • ▸Legacy software and historical research

Notable Features

  • ▸Typeless word-oriented language
  • ▸Simple and minimal syntax
  • ▸Supports arrays, pointers, and strings
  • ▸Early example of structured programming
  • ▸Highly portable across hardware platforms

Origin & Creator

Developed by Martin Richards in 1966 at the University of Cambridge, initially as a tool for writing compilers.

Industrial Note

BCPL was used in early operating systems development, compilers, and embedded systems, but today it is mainly of historical and academic interest.

More Bcpl Typing Exercises

BCPL Counter and Theme ToggleBCPL Random Number GeneratorBCPL Dice RollerBCPL Countdown TimerBCPL Prime CheckerBCPL Temperature ConverterBCPL Shopping CartBCPL Name GreetingBCPL Stopwatch

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher