易码技术论坛

 找回密码
 加入易码
搜索
查看: 493567|回复: 9

[源码] [分享]一个完整的basic解释器源代码(c)

[复制链接]
发表于 2005-10-23 16:40:00 | 显示全部楼层
ding
发表于 2005-11-8 12:20:00 | 显示全部楼层
工程浩大,不过WQX上不用这么复杂
发表于 2006-7-27 21:16:45 | 显示全部楼层
全部是楼主做的吗,真强
发表于 2006-7-28 10:52:02 | 显示全部楼层
楼上你没看到里面有USA字样吗..这个是米国人写的..
发表于 2006-7-28 20:36:33 | 显示全部楼层
很多看不懂。。
 楼主| 发表于 2005-10-17 21:08:14 | 显示全部楼层 |阅读模式
在VC6.0下成功编译,压缩包中已经有编译好的程序。

运行程序后就可以写BASIC代码,程序有自动检测语句是否正确的功能。

写完后连按两次回车就运行代码。

对编写解释器感兴趣的人不妨一看。

//******************************************************************************

     This program is free software; you can redistribute it and/or      

     modify it under the terms of the GNU General Public License         
    as published by the Free Software Foundation; either version        
     of the License, or (at your option) any later version.              
                                                                       
     This program is distributed in the hope that it will be useful,     
     but WITHOUT ANY WARRANTY; without even the implied warranty of      
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      
    GNU General Public License for more details.                        
                                                                        
     You should have received a copy of the GNU General Public License   
     along with this program (the file is named COPYING);               
    if not, write to the Free Software                                 
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.      

*************************************************************************************/   


发表于 2008-1-10 10:50:29 | 显示全部楼层
可能论坛更新了吧,没有附件了,麻烦楼主再上传一下!
发表于 2008-1-10 12:26:15 | 显示全部楼层
我也想看看
传上来吧
发表于 2008-1-26 18:28:56 | 显示全部楼层
这么老的帖子了啊,还是给顶上来了.

附件没有了吧
发表于 2008-2-22 07:37:39 | 显示全部楼层
为什么受伤的总是我啊。。。附件哪
您需要登录后才可以回帖 登录 | 加入易码

本版积分规则

Archiver|手机版|小黑屋|EMAX Studio

GMT+8, 2024-4-16 18:07 , Processed in 0.012830 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表