Giter Site home page Giter Site logo

luklapse / compiler-dev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pku-minic/compiler-dev

0.0 0.0 0.0 160 KB

Compiler development environment.

License: GNU General Public License v3.0

Shell 15.02% Python 54.02% Rust 13.08% Makefile 3.89% Dockerfile 13.99%

compiler-dev's Introduction

compiler-dev

北大编译实践教学用编译器开发环境 (Compiler Development Environment).

该仓库的内容将被打包为 Docker 镜像, 所以不建议直接使用该仓库, 具体使用方法见使用方法一节.

使用方法

从 Docker Hub 获取

推荐使用该方法.

docker run -it --rm maxxing/compiler-dev bash

从仓库构建

cd docker
make # or `sudo make`
docker run -it --rm compiler-dev bash

镜像中包含的内容

  • 必要的工具: git, flex, bison, python3 (用于运行测试脚本).
  • 构建工具: make, cmake.
  • 运行工具: qemu-user-static.
  • 编译工具链: Rust 工具链, LLVM 工具链.
  • Koopa IR 相关工具: libkoopa, koopac.
  • 测试脚本: autotest.

缺陷/待处理

  • 目前的镜像会安装各类预编译工具链 (例如 LLVM), 但其中部分工具链不支持 aarch64, 这也许会给使用搭载了 Apple Silicon 平台的同学带来困扰. 是否考虑从源代码编译?

变更日志

CHANGELOG.md.

compiler-dev's People

Contributors

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