Giter VIP home page Giter VIP logo

syc's Issues

问题:对于官网测试用例的测试

您好,对于如下面图片所示的源代码,出现了似乎不能编译的情况(见第二张图片)
图1
图2
我也没有修改您的代码,直接拿来跑一下。看这情况应该是语法分析部分出了问题也或许是其他方面我的原因,想问一下您有没有解决的思路。

想请教一下关于IR的问题

请问一下您采用的IR是何种类型?感觉更偏向汇编一点,后面的优化思路又是怎样的呢?
还有就是语义分析是在哪里做的?
我正在学习编译原理并尝试实现sysY的编译器,如蒙指教,不胜感激!

A small bug and a question

I find that const value can be changed in your program!!!

const int a=6;
int main()
{
    a=4;
}

it can be compile successfully.
by the way,I want to ask a question, what's the meaning of PHI_MOV ,PHI_block and the fake(do) while generating the irs of whilestatement.
Basically,I even not understand clearly the use of PHI_MOV,dose it have something to do with phi node or SSA?
I would be grateful for you answer.

Hello

Hello, I found your previous project when I was learning compiler, and I would like to ask if there are supporting documents for me to learn more conveniently. If so, I wonder if you can provide them? Thank you very much.

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.