没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
ShivyC 一个用Python创建的业余C编译器。 ShivyC是一个用Python 3编写的爱好C编译器,它支持C11标准的子集,并生成相当有效的二进制文件,包括一些优化。 ShivyC还会生成有用的编译时错误消息。 这种是ShivyC今天可以编译的一个示例。 有关功能的更全面列表,请参见。 快速开始 x86-64 Linux ShivyC仅需要Python 3.6或更高版本来编译C代码。 组装和链接使用GNU binutils和glibc完成,您几乎肯定已经安装了它们。 要安装ShivyC: pip3 install shivyc 要创建,编译和运行示例程序: $ vim hello.c $ cat hello.c # include < stdio> int main () { printf ( " hello, world! \n " ); } $ shivyc hello.c $ ./out hello, world! 要运行测试: git clone https://github.com/ShivamSarodia/ShivyC.git cd S
资源推荐
资源详情
资源评论
收起资源包目录
ShivyC:用Python创建的C编译器 (153个子文件)
input.c 4KB
Count.c 4KB
trie.c 2KB
implicit_cast.c 2KB
error_union.c 2KB
error_struct.c 2KB
sizeof.c 2KB
function_def.c 2KB
struct.c 2KB
error_function_def.c 2KB
array.c 1KB
function_call.c 1KB
error_declaration.c 1KB
storage.c 1KB
comparison.c 1KB
error_typedef.c 1KB
if.c 1KB
union.c 1KB
addition.c 1KB
error_type_qualifier.c 1KB
pointer-1.c 1KB
subtraction.c 1024B
error_compound_assign.c 963B
error_pointer_math.c 898B
string.c 846B
compound_assign.c 823B
error_array.c 772B
error_function_call.c 766B
for.c 755B
incomplete_types.c 754B
bool.c 743B
multiplication.c 718B
declaration.c 698B
pointer_math.c 686B
error_pointer.c 606B
unary_arithmetic.c 570B
pi.c 563B
pointer-2.c 526B
incr_decr.c 498B
while.c 462B
typedef.c 456B
error_cast.c 440B
error_incomplete_types.c 428B
division.c 414B
assignment.c 410B
error_undeclared_identifier.c 396B
error_lexer.c 391B
error_comparison.c 383B
error_unassignable_lvalue.c 380B
error_control_statements.c 367B
cast.c 362B
break_continue.c 356B
lexer.c 332B
bitwise_shifts.c 321B
error_sizeof.c 318B
modulus.c 317B
error_bool.c 274B
error_incr_decr.c 270B
else.c 266B
storage_helper.c 230B
string.c 224B
error_unary.c 209B
include.c 202B
error_string.c 184B
int_arithmetic.c 170B
error_include.c 147B
type_qualifier.c 143B
error_redefined_identifier.c 135B
error_initializer.c 131B
error_large_literal.c 123B
error_break_continue.c 120B
compound_statement.c 116B
error_typedef2.c 104B
expr_comma.c 102B
spacing.c 97B
error_empty_struct.c 96B
error_struct_initializer.c 88B
error_main3.c 87B
error_main2.c 86B
error_declaration.c 84B
error_main4.c 84B
error_tokens_in_array_size.c 84B
error_bad_identifier.c 82B
error_if_no_condition.c 73B
function_def_helper.c 71B
error_main1.c 71B
error_if_open_paren.c 70B
error_if_close_paren.c 67B
error_extra_tokens.c 66B
identifier.c 66B
error_end_binop.c 63B
error_missing_semicolon.c 63B
error_missing_quote.c 62B
error_missing_final_brace.c 61B
error_missing_semicolon_and_end.c 61B
empty_statement.c 47B
main_return.c 41B
compile_asm 402B
.coveragerc 115B
Dockerfile 147B
共 153 条
- 1
- 2
资源评论
谁家扁舟子
- 粉丝: 27
- 资源: 4680
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 驱动代码驱动代码驱动代码驱动代码
- SVID_20240523_141155_1.mp4
- Code for the complete guide to tkinter tutorial
- 关于百货中心供应链管理系统.zip
- SimpleFolderIcon-master 修改Unity的Project下的文件夹图标
- A python Tkinter widget to display tile based maps
- A pure Python library for adding tables to a Tkinter application
- Vector资源文件.zip
- MobaXterm-Installer
- 88-520告白(520气球).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功