Giter VIP home page Giter VIP logo

fdmjc-rs's Introduction

FDMJ Compiler in Rust

复旦大学 2024 春编译(H)实验,使用 Rust 实现

  • 项目管理使用 cargo-make
  • 使用 pest 库做词法分析和语法分析

环境配置

  • Windows, Linux, MacOS 都行

  • Rust: 最新的 stable 版本。安装和包镜像源参考 rsproxy.cn

  • Clang: 最新版本,Windows 上可以用 msys2 安装

  • LLVM: 最新版本,16.0.0 以上,Windows 上可以用 msys2 安装

  • cargo-make

cargo install --force cargo-make

运行方法

cargo make test-fdmj

会在 tests 文件夹内出现 *.ll *.ll.ll *.output,没有写 xml 的输出,其他的应该是跟 hw1 一样。

参考

fdmjc-rs's People

Contributors

jingyijun 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.