AAmit’s LibraryLEARN · PRACTISE · REFLECT

Computers · Programming Atlas

Programming and Scripting Atlas

Start with programming concepts

Compare paradigms, syntax and semantics, types, scope, control flow and errors through small worked examples and a sourced history sidebar. Read the cross-language orientation, then choose a full module below.

Take one idea from the Atlas into practice

  1. Predict: before running anything, write the sum of [6, -2] and the empty list.
  2. Trace: follow one loop accumulator, then the recursive calls and returns. Identify the base case.
  3. Compare: explain why both return the same total but use different control flow. Keep the original example unchanged.
  4. Test: use a separate practice copy to check empty, single-value and all-negative inputs against your predictions.

Continue to the existing algorithm practice guide for worked traces, bounded Python examples and its separate test companion. This website handoff does not change the pinned Atlas 0.11 downloads or add those exercises to the offline edition.

Ask a public learning question

How do a loop and a recursive function sum [6, -2] in Python? Trace each step, explain the base case, and suggest tests for empty and all-negative inputs. Cite official documentation.

Ask Google Ask Google AI (AI Mode)

Opens Google and sends this question when you choose a button. AI Mode availability varies; check its sources. These links contain only the displayed public question, not your work, page address or account data. Google applies its own service and data policies; this is not the Library’s chat or Workers AI.

You can select and copy the question yourself. If the AI Mode link is unavailable, open Google AI Mode separately and paste it, or use ordinary search. Nothing here runs your code or marks learning complete. Read Google’s AI Mode availability and guidance.

Additional website reference modules

Six further introductory modules bring the website reference collection to 25 packs/modules, with 273 examples and solutions and 34 introductory-tested identities out of 285; 251 remain planned. This is introductory coverage, not mastery. Downloads below remain Atlas 0.11 and cover its earlier 19 packs only. New exports and PDFs for these six additions are not published.

Released Atlas 0.11 edition

Choose a small programming task, read a tested example, make one change and compare the result. This staged 0.11.0 edition contains Web, Python, SQL, Shell, TypeScript, Data Formats, C, C++, Ruby, Perl, Swift, Makefile, awk, sed, jq, XSLT 1.0, Tcl, Expect and Objective-C Foundations.

285 registry entries; 28 have introductory tested coverage and 257 remain planned. The nineteen packs contain 152 lessons, 304 reference cards and 114 prompt templates. This is a starting registry, not a claim to teach every language.

Web Foundations: HTML, CSS and JavaScript

Beginners who can save a plain text file and open it in a browser.

Structure, styling, pure functions, input handling, events and local list filtering. No backend, deployment, authentication, network APIs or framework instruction.

Python Foundations

Beginners who can save a text file and run an installed Python interpreter.

Core types, control flow, functions, collections, temporary toy files, JSON, expected errors, local modules and unittest. No package installation, external data, deployment or service integration.

SQL Foundations

Beginners who can save plain text and run an installed command-line runtime.

Queries, schema, joins, grouping, NULL, transactions, fixed CLI parameters and exercises. Portable concepts are distinguished from tested SQLite behavior.

Shell Foundations

Beginners who can save plain text and run an installed command-line runtime.

Quoting, pipes, status, toy files, loops, functions and safe automation patterns. POSIX-style syntax, Bash 3.2 and native Zsh are distinguished.

TypeScript Foundations

Learners familiar with the Web Foundations JavaScript examples.

Types, unions, narrowing, functions, objects, collections, runtime checks, discriminated unions, generics and local modules. Introductory static and runtime coverage only.

Data Formats Foundations

Learners comfortable with the Python Foundations examples.

JSON, CSV/TSV, XML and TOML reading, serialization where supported, explicit encoding, escaping, dialects, syntax errors and small hand-written contracts. No schema engine, external files or untrusted XML parsing.

C Foundations

Learners who have practiced basic control flow and can invoke an installed compiler.

Core types, control flow, functions, arrays, strings, ownership and lifetimes, expected errors, separate build stages and tests. Introductory c17 subset only.

C++ Foundations

Learners who have practiced basic control flow and can invoke an installed compiler.

Core types, control flow, functions, arrays, strings, ownership and lifetimes, expected errors, separate build stages and tests. Introductory c++20 subset only.

Ruby Foundations

Learners comfortable saving a source file and running an installed interpreter.

Core values, control flow, functions, collections, text, regular expressions, temporary files, expected errors, JSON, local modules and tests. No external data, packages or deployment.

Perl Foundations

Learners comfortable saving a source file and running an installed interpreter.

Core values, control flow, functions, collections, text, regular expressions, temporary files, expected errors, JSON, local modules and tests. No external data, packages or deployment.

Swift Foundations

Learners comfortable saving plain-text files and using a terminal.

Core types, optionals, functions, collections, Unicode strings, value and reference semantics, errors, local source files and observable tests. No frameworks, concurrency, package manager or unsafe pointers.

Makefile Foundations

Learners comfortable saving plain-text files and using a terminal.

Build-language basics: targets, prerequisite graphs, timestamps, phony actions, variables, automatic variables, pattern rules, order-only prerequisites, failure and observable tests. Not a general-purpose language or a replacement shell tutorial.

awk Foundations

Learners comfortable saving plain text and invoking an installed command-line tool.

Pattern/action processing, records and fields, validated numeric input, associative arrays, deterministic order, functions and reports. No CSV parser, GNU awk extensions, process execution or arbitrary file access.

sed Foundations

Learners comfortable saving plain text and invoking an installed command-line tool.

Addressed stream editing, BRE/ERE distinctions, substitution and escaping, ranges, branching, pattern/hold spaces and bounded multiline examples. No in-place editing, file-write commands, arbitrary scripts or general data parsing.

jq Foundations

Learners comfortable saving plain text and invoking an installed command-line tool.

JSON query language: filter streams, projection, selection, null/presence, data parameters, grouping, aggregation, updates and explicit validation. This is beyond parsing JSON; no remote data or schema conformance claim.

XSLT 1.0 Foundations

Learners comfortable saving plain text and invoking an installed command-line tool.

XSLT 1.0 transformation language: templates, XPath 1.0 selections, namespaces, sorting, parameters, variables, named templates, identity transforms, keys and explicit input checks. Supporting XPath expressions do not constitute a standalone XPath pack. No XSLT 2.0/3.0, extension functions or arbitrary documents.

Tcl Foundations

Learners comfortable saving plain text and invoking an installed interpreter.

Tcl programming language: command words and substitution, braced expressions, lists, dictionaries, control flow, procedures, namespaces, explicit file channels and errors. No Tk GUI, Tcl 8.6/9 features or arbitrary script evaluation.

Expect Foundations

Learners comfortable saving plain text and invoking an installed interpreter.

Expect is a Tcl extension for scripted conversations with processes, not a second general-purpose language or a shell. This pack covers fixed toy children, literal/regular-expression matching, send, timeout, EOF, wait status, buffering and bounded conversation states. It does not automate real services.

Objective-C Foundations

Learners familiar with the C Foundations pack and basic terminal use.

Objects and messages, properties, Foundation values, UTF-16, protocols, categories, blocks, ARC relationships, recoverable errors, a tiny local file and separate source files. Introductory macOS-only scope.

Use the learning sequence

  1. Choose Web for browser structure and events, Python for local data, SQL for disposable database practice, Shell for interpreter-specific commands, TypeScript for static types and emitted JavaScript, Data Formats for parsing and explicit data contracts, C for explicit storage and checked operations, C++ for value types, ownership and standard-library practice, Ruby for objects and collections, Perl for context and bounded text processing, Swift for checked value types and optionals, Makefile for trusted local build scripting, awk and sed for bounded text processing, jq for structured JSON queries, XSLT 1.0 for trusted XML transformations, Tcl for explicit command and data contracts, or Expect for bounded conversations with authored toy children. Expect is a Tcl extension, not a second general-purpose language or shell. Choose Objective-C for introductory macOS Foundation objects and messages after C Foundations; no iOS or cross-platform coverage is claimed.
  2. Read the lesson and expected output before changing an example.
  3. Keep your changed copy separate; compare it against the checks and explain the difference.
  4. Use the reference cards and prompt templates to plan the next small experiment. Export your offline workbench presets for recovery.

Computer foundations · Existing web chapter · Existing learning resources

Download the offline 0.11 edition

Complete Atlas 0.11.0 ZIP (6,079,970 bytes) · 411-page guide and catalogue PDF · Versioned source JSON

Unzip the edition and open Programming and Scripting Atlas.html, Web Foundations.html, Python Foundations.html, SQL Foundations.html, Shell Foundations.html, TypeScript Foundations.html Data Formats Foundations.html, C Foundations.html C++ Foundations.html, Ruby Foundations.html, Perl Foundations.html, Swift Foundations.html, Makefile Foundations.html, awk Foundations.html, sed Foundations.html, jq Foundations.html, XSLT 1.0 Foundations.html, Tcl Foundations.html, Expect Foundations.html or Objective-C Foundations.html locally. The original interactive workbenches retain their offline prompt-building, local presets and export controls. Read the included README before running examples yourself. The workbench does not execute pasted code or call an AI service; prompt text is for you to inspect and use separately.

Version 0.11.0 is pinned here. The other 257 registry entries remain planned; this edition does not claim complete language coverage.

Evidence and limits

Objective-C adds 12 accepted native programs, four separate compiler or warning-policy rejections, 120 root checks and 147 independent native checks. Two rejection fixtures are warnings promoted by -Werror; they are not intrinsic syntax failures. No rejected fixture was executed. Tests dated 26 October 2026 used Apple Clang 21.0.0, ARC, C17 base mode, macOS SDK 27.0 headers and system Foundation 6.9 (5027.0.69) on macOS 27.0.1 arm64. This is introductory macOS/Foundation coverage, not iOS, GNUstep, Objective-C++, UI, concurrency or cross-platform coverage. No sanitizers, leak detector, race analysis, allocation/disk-full/permission fault injection or asynchronous timing tests were run. Trusted authored fixtures and process bounds do not establish an arbitrary-code sandbox.

The pinned Atlas 0.11.0 evidence records 607 browser checks, 55 Python harness checks plus four unittest methods, 74 SQL checks, 515 shell checks across 71 runs, 99 TypeScript checks, 51 Data Formats checks, 119 C checks, 116 C++ checks, 97 Ruby checks, 97 Perl checks, 105 Swift harness checks and 97 Makefile harness checks, 145 awk checks, 145 sed checks, 161 jq checks, 157 XSLT checks, 150 Tcl checks and 161 Expect checks. These are separate measures. Tcl and Expect tests are dated 26 October 2026 on installed Tcl 8.5.9 / Expect 5.45 with Tcl 8.5.9 on macOS arm64. These old versions are recorded teaching evidence, not deployment recommendations. Tcl has 12 accepted programs and Expect has 12 accepted controllers; each has four expected evaluation failures, not static compilation passes. Tcl has nine scenarios, five expected nonzero; Expect has seven scenarios, four expected nonzero. Expect default controllers invoke 15 toy children, including two expected child failures; one scenario also expects a failed child. Controller success does not mean every child succeeds. The authoring release records 100 owned-runner regression checks and 109 independent runner checks separately. Only authored fixtures and retained native child handles are covered. Cooperative cleanup requires event-loop progress; outer-timeout child cleanup remains uncertain without complete wait receipts. The retired PID-inspection branch was not retried. No sign-ins, secrets, network or external application control are taught or tested by this pack. awk and sed are text-processing languages; their examples use fixed authored ASCII input and the C locale with installed awk 20200816 and macOS sed on one platform. jq and XSLT each have 12 accepted examples and four separately rejected programs. jq has 21 scenarios, including five contract errors and one no-result status; XSLT has 20 scenarios, including five terminating messages and one CLI parameter rejection. Expected nonzero outcomes are not successful programs. Tests dated 26 October 2026 used jq 1.7.1-apple and XSLT 1.0 with libxslt 1.1.35/libxml2 2.9.13, fixed trusted programs and tiny authored inputs in the C locale on macOS arm64. These old installed XML libraries are recorded learning environments, not recommendations for untrusted-document processing. No imports, external documents, DTDs, custom/external entities, extension functions or generated source are covered. Command flags and bounds are not a complete sandbox. Standalone XPath remains planned; supporting XPath 1.0 expressions are limited to these XSLT examples. These tests do not establish GNU-tool equivalence, Unicode behavior, arbitrary-script safety or cross-platform portability. Swift has 12 accepted programs and four expected static rejections; Makefile has 12 accepted default targets, four expected parser rejections, eight additional scenarios and one expected recipe failure. Makefile is build scripting, not a general-purpose language. The Swift and Makefile test execution dates remain 25 October 2026. awk and sed tests are dated 26 October 2026. Delivery verification does not replace or refresh test execution dates. TypeScript includes 12 accepted programs executed as JavaScript and nine intentionally invalid cases correctly rejected. Each C/C++ pack has 12 accepted programs run normally and with AddressSanitizer/UndefinedBehaviorSanitizer, plus four expected compiler rejections that are never executed. Ruby and Perl each have 12 syntax-accepted programs executed and four expected syntax rejections; rejected cases are not successful programs. Syntax checks may execute compile-time code and are not arbitrary-code sandboxes. Sanitizer results cover executed paths only; leak detection and allocation-failure injection were not tested and memory safety is not proved.

Tested environments are Chrome 155, CPython 3.9.6, SQLite CLI 3.54.0, macOS sh/Bash 3.2.57/Zsh 5.9, TypeScript 6.0.3, Node 24.18.0 Apple Clang 21.0.0, Ruby 2.6.10p210 and Perl 5.34.1, Apple Swift 6.4 in Swift 6 mode and GNU Make 3.81 on one arm64 macOS host. C uses a C17 subset; C++ uses a C++20 subset with libc++ 220106. Python 3.9.6 is unsupported upstream. Ruby 2.6 is end-of-life upstream; the recorded installed interpreter is not a recommended modern runtime. Data Formats uses installed Tomli 1.0.3 through a private fallback; the Python tomllib branch was not run. No new-installation recommendation, complete language/format conformance, schema certification, hardened untrusted XML parsing or general-purpose execution sandbox is established. Other platforms, browsers and screen readers remain unverified. The 145 official references belong to the saved Atlas review, not fresh website-time verification.