1 Star 0 Fork 0

liangkangnan/jimtcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Jim examples
============
BSD 2-clause license, (c) 2010 Wojciech A. Koszek <wkoszek@FreeBSD.org>


This directory contains examples of Jim interpreter API. In order to start
working with Jim API one may just want to copy existing example .c file
into new file, modify Makefile and start working on a new program.

Existing examples
=================

jim_command
	Simple command implementation in Jim's API. Command is then executed
	in a script encoded within a program.

jim_hello
	Standard "Hello world!" program, from executing a script.

jim_list
	Will teach you how to create a list in Jim's API.  Once created,
	will show how to name and export it, so that variable is visible in
	the script's source code. Once done, interpretation of separate
	print.tcl file is presented. As a result, the script can print a
	list members created from within ANSI C program.

jim_obj
	Basic object creation in Jim.

jim_return
	Similar to jim_command example, but implemented command actually
	returns a value.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liangkangnan/jimtcl.git
git@gitee.com:liangkangnan/jimtcl.git
liangkangnan
jimtcl
jimtcl
master

搜索帮助