Skip to main content

stdio-c (v2.2.0)

A custom Python library to view or run compiler design lab programs directly from your terminal:

py -m pip install stdio-c
py -m stdio <program_number>

Available Programs (1 to 10)

Program Number Program Name Description
1 Basic Lexical Analyzer Tokenizer classifying keywords, identifiers, constants, operators
2 Symbol Table Lookup Symbol table lookup for variables with data type & address
3 Lexical Counter & Comment Stripper Counts length and strips C single-line comments (//)
4 Identifier Validator Validates C identifier naming rules
5 FIRST & FOLLOW Computation Demo of FIRST and FOLLOW set computations
6 Lexical Analyzer (Operator Validator) Validates C operators (arithmetic, relational, bitwise, compound, etc.)
7 Shift Reduce Parser Bottom-up shift-reduce syntax parser simulator
8 LALR Parser LALR bottom-up parser simulator
9 SLR Parser SLR state-table parser simulator
10 Three Address Code Generator TAC intermediate code generator for expressions

Usage Examples

1. Display C Source Code (Default):

Running py -m stdio <num> displays the complete C source code for that program directly in your terminal:

py -m stdio 1
py -m stdio 6
py -m stdio 10

2. Run Program Interactively (--run):

If you want to execute the program interactively in your terminal:

py -m stdio 1 --run
py -m stdio 6 --run

3. Display Python Code (--py):

py -m stdio 1 --py

4. Interactive Menu:

py -m stdio

Release files for stdio-c 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stdio-c 2.2.0
File Size Uploaded
stdio_c-2.2.0.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stdio-c 2.2.0
File Interpreter ABI Platform
stdio_c-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size:26.8 kB

Release files / stdio_c-2.2.0.tar.gz

Download URL stdio_c-2.2.0.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8b9d28dab950ee15b469efdb8cf0eee50099b40eacfb65be6d89abbb16b9f6c4
BLAKE2b-256 checksum
How to use checksums
fc2c6d85a6c08a6c733446bf7ed312f5743b738558ba6109b38fbb7fe904c534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / stdio_c-2.2.0-py3-none-any.whl

Download URL stdio_c-2.2.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c75af0a2e2dabb1b23671bce43ef43e00ef2623345f48d28b8253b57285a45aa
BLAKE2b-256 checksum
How to use checksums
3bdeea5a34785d0baa776376c4c03a7dbc057c922cc347703b4458f9ac985daa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

2.4.0

2 release files

2.3.0

2 release files

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page