wangmengyuan2 / smallerc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alexfru/smallerc
Simple C compiler
License: BSD 2-Clause "Simplified" License
This project forked from alexfru/smallerc
Simple C compiler
License: BSD 2-Clause "Simplified" License
Smaller C is a simple and small single-pass C compiler, currently supporting most of the C language common between C89/ANSI C and C99 (minus some C89 and plus some C99 features). Currently it generates 16-bit and 32-bit 80386+ assembly code for NASM that can then be assembled and linked into DOS, Windows, Linux and Mac OS X programs. (You may use YASM or FASM instead of NASM) Code generation for MIPS CPUs is also supported (primarily for RetroBSD). Code generation for the TR3200 CPU and VASM is supported (see Trillek). The compiler is capable of compiling itself. The core compiler comes with a preprocessor (ucpp), a linker and a compiler driver (the driver invokes the preprocessor, the core compiler, the assembler, and the linker and supports options similar to those of gcc). The standard C library is work-in-progress and it's close to completion. See the project documentation for more up-to-date details: https://github.com/alexfru/SmallerC/tree/master/v0100/doc For the lack of a better place, you can discuss Smaller C here: https://hackaday.io/project/5569-smaller-c Links: NASM: http://nasm.us/ YASM: http://yasm.tortall.net/ FASM: http://flatassembler.net/ CWSDPMI: https://sandmann.dotster.com/cwsdpmi/ HX DOS Extender: https://web.archive.org/web/20141003032346/http://www.japheth.de/ RetroBSD: http://retrobsd.org/ VASM: http://sun.hasenbraten.de/vasm/ Trillek: http://trillek.org/ Other projects based on/using Smaller C: "ROM C" (like ROM Basic but C): https://hackaday.io/project/29198-native-c-pic32-color-video-on-tv FYS OS: http://www.fysnet.net/fysos.htm NewBasic Compiler: http://fysnet.net/nbc.htm Sweet32 CPU and toolchain: https://github.com/Basman74/Sweet32-CPU Normative and other useful documents on C: C99 + TC1 + TC2 + TC3, WG14 N1256: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf Dave Prosser's C preprocessing algorithm annotated by Diomidis D. Spinellis: http://www.spinellis.gr/blog/20060626/index.html Rationale for C99: http://www.open-std.org/jtc1/sc22/wg14/www/docs/C99RationaleV5.10.pdf The New C Standard: An Economic and Cultural Commentary: http://www.knosof.co.uk/cbook/cbook.html The Development of the C Language by Dennis M. Ritchie: https://www.bell-labs.com/usr/dmr/www/chist.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.