Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
NormalTable5801Public archive

About

CNone is a C Compiler. 嗯,对,CNone是一个C的编译器。

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

我想要写一个 C Compiler.

现已实现了简单的词法分析器(然而,我并不想实现所有的C 标准的东西。因为懒或者麻烦)
(我称这个compiler为cnone就是因为这个原因的) 我把注释处理放到了预处理(尽管我还没有开始写)

如何运行

  1. 安装Rust
  2. 然后在目录执行
     cargo run --release
    在 . 目录下,有 .test.c .test2.c 文件,其包含了一定量的C代码,其可以通过这个词法分析。

About

CNone is a C Compiler. 嗯,对,CNone是一个C的编译器。

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages