Skip to main content

stdio-c (v2.4.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 Pattern Matching Validates pattern a*b+
2 NFA to DFA Converts Non-Deterministic Finite Automata to DFA
3 Thompson's Construction Converts regular expression to NFA
4 Whitespace Stripper Strips spaces, tabs, and newlines from input.txt
5 Predictive Parser LL(1) parsing table simulator
6 Lexical Analyzer 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 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.4.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.4.0
File Size Uploaded
stdio_c-2.4.0.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size:29.7 kB

Release files / stdio_c-2.4.0.tar.gz

Download URL stdio_c-2.4.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9b153d1beaed3ab2dbf1974ffe0bc20f9759bbd8f2a129ed10cfb8fe8bf4ecde
BLAKE2b-256 checksum
How to use checksums
99bb86471beb1f81d515dc463c237ad90577837866fe96aa186869be3a87ddfa
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.4.0-py3-none-any.whl

Download URL stdio_c-2.4.0-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1eb5d8e16af9c5e57d063441e23c8e067d6fe5c705d832028125cca6ee98059
BLAKE2b-256 checksum
How to use checksums
462a97f23773329d8f5d908fa878564d25a5d59a83700082f8e84526b89b9fce
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

This release

2.4.0 This release

2 release files

2.3.0

2 release files

2.2.0

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