﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-moonriver-随笔分类-Script Language</title><link>http://www.cppblog.com/moonriver/category/2.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 20 May 2008 17:45:40 GMT</lastBuildDate><pubDate>Tue, 20 May 2008 17:45:40 GMT</pubDate><ttl>60</ttl><item><title>ZeroC Project Status</title><link>http://www.cppblog.com/moonriver/archive/2005/09/07/152.html</link><dc:creator>moonriver</dc:creator><author>moonriver</author><pubDate>Wed, 07 Sep 2005 06:32:00 GMT</pubDate><guid>http://www.cppblog.com/moonriver/archive/2005/09/07/152.html</guid><wfw:comment>http://www.cppblog.com/moonriver/comments/152.html</wfw:comment><comments>http://www.cppblog.com/moonriver/archive/2005/09/07/152.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cppblog.com/moonriver/comments/commentRss/152.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/moonriver/services/trackbacks/152.html</trackback:ping><description><![CDATA[<P align=center><STRONG><FONT size=4>ZeroC project status</FONT></STRONG></P>
<P>Zero C project provide another C-script platform for c/c++ developer, it includes compiler and virtual machine package. </P>
<P>Zero C compiler can parse the C-script file and compiler into ascii ASM file (a instruction set will be provided). VM (virutal machine)&nbsp;will read the ASM code and run program.</P>
<P>The current project have implemented most of features: </P>
<P>1) Data Type/basic&nbsp;C-language</P>
<P>Basic C-lanauage data types&nbsp;are implemented (bool, int, float, string, user-defined).</P>
<P>2) Function/Param pass-by-value/Param pass-by-reference</P>
<P>Two parameter-pass methods are implemented, pass-by-value and pass-by-reference. </P>
<P>3) Array</P>
<P>Dynamic-array is implemented (static array is not supported).</P>
<P>4) Communication between script and application</P>
<P>The host application can call the script function in standard protocol, as the same the, host application can provide the function, which can be called from Script scratch code.</P>
<P>5) standard library support.</P>
<P>The standard libary is very important to end-user, current Zero C provide some standard libraries (Math, STRING, IO). Some advance libray will be considered later. Maybe it will include XML, GUI.</P>
<P>Most of inspiration is from <A href="http://www.lua.org/">www.lua.org</A>, Lua language provide the excellent mechanism and samples to clearify what and how to use script.</P>
<P>&nbsp;</P><img src ="http://www.cppblog.com/moonriver/aggbug/152.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/moonriver/" target="_blank">moonriver</a> 2005-09-07 14:32 <a href="http://www.cppblog.com/moonriver/archive/2005/09/07/152.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>