Giter Site home page Giter Site logo

cforth's Introduction

Cforth_alpha 0.3.5

Cforth is a forth interpreter implemented in C programming language. 
But now it's just a simple model, not real forth.

/*
** 2012-8-27
** 增加了list模块,把链表数据结构模块独立出来。
** 测试中,未完成。
*/

/*
** 2012-8-24
** 给str_lex模块增加了删除列表中指定节点的操作函数。
*/

/*
** 2012-8-23
** 给str_lex模块增加了销毁列表的操作函数。
*/

/*
** 2012-8-22
** 增加了str_lex模块,在测试中,未完成。
** 使用队列保存经过词法分析后的forth词。
*/

/*
** 2012-8-21
** 增加了dict字典模块,在测试中,未完成。
*/

/*
** 2012-8-20
** 使用strtok_r函数替代了strtok函数。
*/

/*
** 2012-8-19
** 修补了gets_input函数的数组溢出漏洞。
** gets_input函数指定了最大存储字符数。
*/

/*
** 2012-8-9
** 增加了error_msg核心字
** 打印出堆栈错误信息。
** 可以在code_words.h中设置DEBUG为0来关闭错误提示。
*/

/*
** 2012-7-18
** 增加了negate和bool功能
** tab字符被认为是空格
** 增加了注释模式,忽略‘(’与‘)’之间的词。
*/

/*
** 2012-7-10
** 使用有限自动机原理重写了解释器模块
** 将bye加入核心字
*/

/*
** 2012-7-10
** 使用有限自动机原理重写了isNum,作为实验
*/

/*
** 2012-7-6
** 将cforth.h独立了出来
*/

/*
** 2012-7-3
** 增加了DEBUG模式
** DEBUG模式开启时,打印出堆栈操作的错误信息
*/

/*
** 2012-7-2
** 取消了stack_error,使用clean_stack替代
*/

/*
** 2012-7-1
** 重新构造了cforth的核心字模块
** 使核心字模块与前端处理模块能分开独立编译
*/

cforth's People

Contributors

cforth avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.