资 源 简 介
C-- is high level script language for embedding purpose which provides below features
C-like syntax
First class function
Lexical closure
Dynamic typing
Garbage collection with reference counting
If you want to see more about this features, then visit What Is C-- page.
This repository provides
Language specification of C--
Virtual machine implementation and documentation
Compiler implementation and documentation
This project is developed using C++0x (new standard for C++) in VS2010
NOTE : Current version of C-- is very unstable - there might be a numerous number of underlying bug.
文 件 列 表
sample
bubble_sort.cmm
closure1.cmm
closure2.cmm
gcd.cmm
insertion_sort.cmm
minmaxsum.cmm
quick_sort.cmm
code
Analyzer.cpp
Analyzer.h
AST.cpp
AST.h
ASTDecl.h
ASTDrawer.cpp
ASTDrawer.h
ASTVisitor.h
cmm.h
cmm.suo
CodeGenerator.cpp
CodeGenerator.h
CodePrinter.cpp
CodePrinter.h
Compiler.cpp
Compiler.h
Context.cpp
Context.h
DataType.cpp
DataType.h
Error.cpp
Error.h
Function.cpp
Instruction.cpp
Instruction.h
main.cpp
Memory.cpp
Memory.h
Object.cpp
Object.h
Parser.cpp
Parser.h
Position.h
Prototype.cpp
Prototype.h
Scanner.cpp
Scanner.h
StdAfx.cpp
StdAfx.h
TextLoader.cpp
TextLoader.h
Token.cpp
Token.h
Utility.h
bin
cmm-lang.exe
cmm-lang.sln
cmm-lang.vcxproj
cmm-lang.vcxproj.filters
cmm-lang.vcxproj.user