TinyCompiler | TinyCompiler是一款能编译一个经过裁剪的C语言的子的简易编译器,采用了C11编写

 by   zouxiaohang C++ Version: Current License: No License

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 =
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              TinyCompiler has a low active ecosystem.
              It has 73 star(s) with 21 fork(s). There are 6 watchers for this library.
              OutlinedDot
              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.

            kandi-Quality Quality

              TinyCompiler has no bugs reported.

            kandi-Security Security

              TinyCompiler has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              TinyCompiler does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse 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
            Get all kandi verified functions for this library.

            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:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/zouxiaohang/TinyCompiler.git

          • CLI

            gh repo clone zouxiaohang/TinyCompiler

          • sshUrl

            git@github.com:zouxiaohang/TinyCompiler.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link