Coder Social home page Coder Social logo

younthu / my_toy_compiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lsegal/my_toy_compiler

0.0 2.0 0.0 258 KB

My Toy Compiler. Read about how I did it at the homepage URL

Home Page: http://gnuu.org/2009/09/18/writing-your-own-toy-compiler/

Makefile 0.21% C++ 4.97% Yacc 3.46% Lex 1.91% C 89.45%

my_toy_compiler's Introduction

my_toy_compiler

学习yacc/lex的repository.

calc

这是一个用yacc/lex做的计算器,现在只支持+,-,*,/,(,),仅限整数类型。

接下来会支持:


1. Double,
1. 自然数,
1. ^ 指数运算符,
1. 阶乘运算符
1. ?:三元运算符
1. & 字节与运算符
1. | 字节或运算符
1. 0xddd, 16进制表示

my_toy_compiler's People

Contributors

lsegal avatar younthu avatar columbus240 avatar aslakhellesoy avatar corani avatar ashgti avatar mpiroc avatar burner avatar dubik avatar bhuztez avatar

Watchers

James Cloos avatar  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.