C-smile OOL is a scripting language with C++-like grammar. It has compiler, VM running bytecodes and C++ extendible runtime. Intended to run in standlone and embedded mode
C-smile 面向對象語言在語法上比較像C++的腳本化的語言,它有一個編譯器,一個運行字節碼的虛擬機,和可擴展的C++運行時。它是為運行獨立的可插入的模塊。
This code detects memory leaks in embedded VC++ almost the same way crtdbg does in VC++. At the end of program execution it will display in the debug window if there were any memory leaks and how the memory looks so you can identify where your memory leak occurred. It will display in the debug window a message saying no memory leaks detected if there are no memory leaks. Similar to what crtdbg.h does in VC++. The code detects memory leaks generated with calls to new and delete operators in C++. The code doesn t detect memory leaks generated with C functions: malloc, calloc, free, but that can be done in the future. Let me know and I will program it.
用CY7C63723設計的鼠標固件程序
chip.c - include file that defines CY7C63723 constants
- combi.c - main source file
- combi.hex - Intel hex file for programming a CY7C63723 microcontroller
- combi.lst - output listing from c-compiler for use with the CYDB debugger
- macros.h - defines macros used in combi.c
- ps2defs.h - defines PS/2 interface constants
- usb_desc.h - defines the USB descriptors
- usbdefs.h - defines USB interface constants
The tar file contains the following files:
ptfsf.c: heart of the perfect TFSF code
ptfsf.h: header file for same
ptfsf-demo.c: FDTD code which demonstrates use of perfect TFSF code. Essentially this program used to generate results shown in the paper
ptfsf-file-maker.c: code to generate an incident-field file using the "perfect" incident fields
ptfsf-demo-file.c: FDTD code which uses the perfect incident fields stored in a file
fdtdgen.h: defines macros used in much of my code
Makefile: simple make-file to compile programs
Also include are some simple script files to run the programs with reasonable values.
The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field Ez, Hx, and Hy). The program is currently written so that the incident field always strikes the lower-left corner of the total-field region first. (If you want a different corner, that should be a fairly simple tweak to the code, but for now you ll have to make that tweak yourself.)
Tiny C Compiler - C Scripting Everywhere - The Smallest ANSI C compiler
Installation on a i386 Linux host (for Windows read win32/readme.txt)
./configure
make
make test
make install
By default, tcc is installed in /usr/local/bin.
./configure --help shows configuration options.
A C++ N-grams Package 2.0
This is a simple C++ n-grams package that includes a header, the corresponding cpp file, and a sample driver program. It is a natural language processing tool for creating n-gram profiles for text documents. The details on usage is documented in the header right above each public function defined. This package is based on Dr. Vlado Keselj s Perl package Text::Ngrams which is available in CPAN.