All Projects → PratikSavla → compiler-design-lab

PratikSavla / compiler-design-lab

Licence: GPL-3.0 license
These are my programs for compiler design lab work in my sixth semester

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to compiler-design-lab

librxvm
non-backtracking NFA-based regular expression library, for C and Python
Stars: ✭ 57 (+21.28%)
Mutual labels:  regex, nfa, compiler-design
Regex Dos
👮 👊 RegEx Denial of Service (ReDos) Scanner
Stars: ✭ 143 (+204.26%)
Mutual labels:  regex, regular-expression
Micromatch
Contributing Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
Stars: ✭ 1,979 (+4110.64%)
Mutual labels:  regex, regular-expression
moar
Deterministic Regular Expressions with Backreferences
Stars: ✭ 19 (-59.57%)
Mutual labels:  regex, regular-expression
To Regex Range
Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.
Stars: ✭ 97 (+106.38%)
Mutual labels:  regex, regular-expression
Orchestra
One language to be RegExp's Successor. Visually readable and rich, technically safe and extended, naturally scalable, advanced, and optimized
Stars: ✭ 103 (+119.15%)
Mutual labels:  regex, regular-expression
Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: ✭ 4,847 (+10212.77%)
Mutual labels:  regex, regular-expression
Regexr
For composing regular expressions without the need for double-escaping inside strings.
Stars: ✭ 53 (+12.77%)
Mutual labels:  regex, regular-expression
Regexpu
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Stars: ✭ 201 (+327.66%)
Mutual labels:  regex, regular-expression
regex-comuns
Um estudo de regex comuns
Stars: ✭ 15 (-68.09%)
Mutual labels:  regex, regular-expression
FileRenamerDiff
A File Renamer App featuring a difference display before and after the change.
Stars: ✭ 32 (-31.91%)
Mutual labels:  regex, regular-expression
Globbing
Introduction to "globbing" or glob matching, a programming concept that allows "filepath expansion" and matching using wildcards.
Stars: ✭ 86 (+82.98%)
Mutual labels:  regex, regular-expression
Hyperscan Java
Match tens of thousands of regular expressions within milliseconds - Java bindings for Intel's hyperscan 5
Stars: ✭ 66 (+40.43%)
Mutual labels:  regex, regular-expression
Js Regular Expression Awesome
📄我收藏的正则表达式大全,欢迎补充
Stars: ✭ 120 (+155.32%)
Mutual labels:  regex, regular-expression
Emoji Regex
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Stars: ✭ 1,134 (+2312.77%)
Mutual labels:  regex, regular-expression
Regex
An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Stars: ✭ 2,125 (+4421.28%)
Mutual labels:  regex, nfa
Regaxor
A regular expression fuzzer.
Stars: ✭ 35 (-25.53%)
Mutual labels:  regex, regular-expression
Regex
A sane interface for php's built in preg_* functions
Stars: ✭ 909 (+1834.04%)
Mutual labels:  regex, regular-expression
Rexrex
🦖 Composable JavaScript regular expressions
Stars: ✭ 34 (-27.66%)
Mutual labels:  regex, regular-expression
Regex.persian.language
Collection of Regex for validating, filtering, sanitizing and finding Persian strings
Stars: ✭ 172 (+265.96%)
Mutual labels:  regex, regular-expression

MY COMPILER DESIGN LAB EXPERIMENTS/PROGRAMS

Requirements

  1. Python 3.6+

How to Run?

  1. Install Python 3.6+
  2. Clone this repository
  3. In command line type:
python ex[exercise-number].py

Experiments List

  • Ex.1 - Lexical Analyzer
  • Ex.2 - Regular Expression to NFA
  • Ex.3 - Elimination of Left Recursion
  • Ex.4 - Elimination of Left Factoring
  • Ex.5 - Computation of First and Follow sets
  • Ex.6 - Computation of Leading and Trailing sets
  • Ex.7 - Construction of Predictive Parsing Table
  • Ex.8 - Implementation of Shift Reduce Parsing
  • Ex.9 - Computation of LR(0) items
  • Ex.10 - Intermediate Code Generation: Three Address Code, Postfix, Prefix
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].