TinyCompiler | TinyCompiler是一款能编译一个经过裁剪的C语言的子的简易编译器,采用了C11编写
kandi X-RAY | TinyCompiler Summary
kandi X-RAY | TinyCompiler Summary
TinyCompiler is a C++ library. TinyCompiler has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
词法测试代码(选择了lua源码中的lmem.c文件并经过了删除不符合tinycompiler词法的部分): void *luam_growaux_ (lua_state *l, void *block, int *size, size_t size_elems, int limit, const char *errormsg) { void *newblock; int newsize; if (*size >= limit/2) { if (*size >= limit) luag_runerror(l, errormsg); newsize = limit; } else { newsize = (*size)*2; if (newsize < minsizearray) newsize = minsizearray; } newblock = luam_reallocv(l, block, *size, newsize, size_elems); *size = newsize; return newblock; } void *luam_toobig (lua_state *l) { luag_runerror(l, "memory allocation error: block too big"); return null; } void *luam_realloc_ (lua_state *l, void *block, size_t osize, size_t nsize) { global_state *g = g(l); lua_assertosize == 0) == (block == null; block = (*g→frealloc)(g→ud, block, osize, nsize); if (block == null && nsize > 0) luad_throw(l, lua_errmem); lua_assertnsize == 0) == (block == null; g→totalbytes = (g→totalbytes - osize) + nsize; return block; } 分词结果: token: {name = void attr = keyword loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = * attr = delimiter loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = luam_growaux_ attr = variable loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = ( attr = delimiter loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = lua_state attr = variable loc = 1 file =
词法测试代码(选择了lua源码中的lmem.c文件并经过了删除不符合tinycompiler词法的部分): void *luam_growaux_ (lua_state *l, void *block, int *size, size_t size_elems, int limit, const char *errormsg) { void *newblock; int newsize; if (*size >= limit/2) { if (*size >= limit) luag_runerror(l, errormsg); newsize = limit; } else { newsize = (*size)*2; if (newsize < minsizearray) newsize = minsizearray; } newblock = luam_reallocv(l, block, *size, newsize, size_elems); *size = newsize; return newblock; } void *luam_toobig (lua_state *l) { luag_runerror(l, "memory allocation error: block too big"); return null; } void *luam_realloc_ (lua_state *l, void *block, size_t osize, size_t nsize) { global_state *g = g(l); lua_assertosize == 0) == (block == null; block = (*g→frealloc)(g→ud, block, osize, nsize); if (block == null && nsize > 0) luad_throw(l, lua_errmem); lua_assertnsize == 0) == (block == null; g→totalbytes = (g→totalbytes - osize) + nsize; return block; } 分词结果: token: {name = void attr = keyword loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = * attr = delimiter loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = luam_growaux_ attr = variable loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = ( attr = delimiter loc = 1 file = c:\users\zxh\desktop\lmem.c } token: {name = lua_state attr = variable loc = 1 file =
Support
Quality
Security
License
Reuse
Support
TinyCompiler has a low active ecosystem.
It has 73 star(s) with 21 fork(s). There are 6 watchers for this library.
It had no major release in the last 6 months.
There are 0 open issues and 1 have been closed. On average issues are closed in 3 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of TinyCompiler is current.
Quality
TinyCompiler has no bugs reported.
Security
TinyCompiler has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
TinyCompiler does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
TinyCompiler releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TinyCompiler
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TinyCompiler
TinyCompiler Key Features
No Key Features are available at this moment for TinyCompiler.
TinyCompiler Examples and Code Snippets
No Code Snippets are available at this moment for TinyCompiler.
Community Discussions
No Community Discussions are available at this moment for TinyCompiler.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TinyCompiler
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page