Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pazcal implementation
C Shell
Branch: master

Merge pull request #2 from indorilftw/patch-1

Fix tab character detection for older sed versions
latest commit 83a10ea3b2
@nickie nickie authored
Failed to load latest commit information.
bin
include Added dynamic memory management
README.md

README.md

Pazcal

Pazcal is an educational subset of the C programming language. It is intended for teaching Introduction to Computer Programming to first-year students of the School of Electrical and Computer Engineering at the National Technical University of Athens. It comes with a set of notes, written by Stathis Zachos and Nikos Papaspyrou, which will eventually be added to this repository.

Pazcal is actually:

  • A header file, called pazcal.h, defining a set of C macros that is meant to facilitate first-year students learning C. All these macros are written in UPPERCASE letters, so they can be easily distinguished from things existing in regular C.
  • A lint-like tool, called pzcheck that forbids everything in C that should not be taught to first-year students.
  • A script, called pzc that combines the above two and can be considered as an implementation of the language.

For the time being, pzcheck does not do anything: it allows all of C plus the macros defined in pazcal.h.

Installation

To install Pazcal to your computer, assuming you are running Linux or Mac OS, or that you know what to do with your Windows:

  1. Make sure you have gcc installed and working.

  2. Copy this directory to, say, /full/path/pazcal.

  3. Edit /full/path/pazcal/bin/pzc and set PAZCAL_DIR to point to /full/path/pazcal.

  4. Make sure that all files in /full/path/pazcal/bin are executable and that this directory is in your PATH.

Maintainer

The implementation of Pazcal is maintained by

Something went wrong with that request. Please try again.