【文件属性】:
文件名称:compiler:AC编译器
文件大小:62KB
文件格式:ZIP
更新时间:2021-05-25 14:00:26
C
scc
这是一个正在进行的工作。 仍处于早期阶段。
该项目的当前目标是实施(大部分)C,可以选择不包括某些偏差以及一些新功能。
C17的某些部分将不会实施。
原子学
复数
标准库
与C规范的差异。
Nn- ->运算符。 指向结构的指针可以使用进行访问. 。
struct具有隐式typedef
默认为零初始化
新的功能
多种类型和SIMD运算符
enum反射字符串
decltype
C ++样式自动
基于文件系统的模块/构建系统
命名空间
函数重载
内存检查Ala地址清理器
else后while
目标
Windows和macOS上的x64
macOS上的ARM
LLVM红外
SPIR-V
依存关系
在Windows上:MSVC(已在Visual Studio 2017中测试)
在Mac / Linux上:Clang
常问问题
这是什么?
scc是一个C编译器,它与规范无关
【文件预览】:
compiler-master
----platform_unix.c(15KB)
----platform_windows.h(594B)
----scc.h(17KB)
----main.c(5KB)
----testAll.bat(45B)
----keywords.inl(479B)
----hashmap.inl(6KB)
----platform_macos.c(1KB)
----tests()
--------float1.c(44B)
--------pointer1.c(75B)
--------for2.c(124B)
--------while1.c(87B)
--------float3.c(66B)
--------param1.c(89B)
--------struct1.c(228B)
--------test.c(47B)
--------intprom.c(110B)
--------float5.c(73B)
--------float4.c(200B)
--------while2.c(149B)
--------param2.c(91B)
--------float7.c(92B)
--------param4.c(225B)
--------pointer2.c(93B)
--------struct2.c(186B)
--------struct4.c(393B)
--------struct3.c(248B)
--------float2.c(224B)
--------stringConstants.c(106B)
--------for1.c(106B)
--------basic.c(28B)
--------float6.c(100B)
--------comment.c(84B)
--------param3.c(223B)
----codegen.c(42KB)
----hashmap.c(813B)
----clean.bat(158B)
----x64.c(43KB)
----platform_windows.c(6KB)
----ast_nodes.inl(674B)
----lexer.c(14KB)
----string.c(2KB)
----platform_unix.h(314B)
----semantics.c(4KB)
----build.bat(268B)
----punctuators.inl(631B)
----memory.c(1KB)
----.gitignore(142B)
----parse.c(30KB)
----compiler.c(2KB)
----stretchy.c(1KB)
----Makefile(19B)
----std.h(135B)
----testall.sh(29B)
----README.md(2KB)
----platform_linux.c(1KB)
----tree.c(563B)