Giter VIP home page Giter VIP logo

delimiterchecker's Introduction

#Delimiter Checker

  1. Identifying Information

    • Name: Dan Haub
    • Student ID#: 2315346
    • Chapman Email: [email protected]
    • Course Number and Section: CPSC 350-01
    • Assignment: 3 - Delimiter Checker
  2. Source Files

    • main.cpp
    • Makefile
    • GenStack.h
    • SyntaxChecker.h
    • SyntaxChecker.cpp
    • StackException.h
    • StackException.cpp
    • DelimException.h
    • DelimException.cpp
  3. Description of any known compile/runtime errors, or bugs.

    • RUNTIME: If there is an unclosed quotation character (either " or ') it will give inaccurate readings.
      • This issue will most likely come about when a comment has a word with an apostrophe
      • This is because the syntax checker accounts for string and character literals that would allow for incorrect delimiters.
        • For example the string literal: "this is an incorrect delimiter sequence: [})"
        • Or the character literal: ')'
      • Additionally, becuase the language being checked is ambiguous, it is impossible to know what comment style is being used, meaning that comments will be checked for correct delimiters and quotation.
      • Quotes are kept track of using a boolean flag that is thrown off by an unclosed quotation character (see SyntaxChecker.cpp lines 74-77)
  4. References used to complete the assignment

  5. Instructions for running the assignment

    • git clone from repository
    • cd to DelimiterChecker folder
    • input "make"
    • input "./assignment3.exe [file path]"
    • follow onscreen prompts

delimiterchecker's People

Contributors

danshaub avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.