Code Monkey home page Code Monkey logo

cs-parser's Introduction

Parser in C#

(WIP)

A parser implemented in C# as a final requirement for my CCS 238 Programming Languages class for Dr. Felipe P. Vista IV.

Demonstrates compiler design theory from:

Scanner (Lexical Analysis) -> Parser (Syntax Analysis)

Progress:

  • Scanner Tokenization
  • Parse Tree
  • Expression Output
Written by:
- 🤓 Carlo Antonio T. Taleon
- 👧 Glecy S. Elizalde
- 🤠 Christopher Joseph T. Rubinos

Get started

Make sure to install .Net SDK if you haven't yet

  1. Clone this repo and change your directory
# >
git clone https://github.com/Blankeos/cs-parser
cd cs-parser
# cs-parser>
  1. Run the project in your terminal
# cs-parser>
dotnet run

Introducing: The 🤓 "Carlo" Programming Language

It's basically like you're talking to some dude named Carlo.

Features

  • Variables with create
  • Print to console with say
  • Arithmetic + - * /
  • Comments with %

Example usage

% filename: input.carlo

create age = 21

say age
% 21

say age - 1
% 20

func sayHello(name, age)
    say "Hello " + name + "! You are " + age

sayHello "Carlo" 21
% Hello Carlo! You are 21

cs-parser's People

Contributors

blankeos avatar

Watchers

 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.