본문으로 바로가기

Sugar 0.1

category Tcl & Tk/확장 패키지 (Extension Package) 2025. 8. 27. 15:46

홈페이지 : http://www.hping.org/tclsbignum/
참고 : http://wiki.tcl.tk/11155

Sugar는 Tcl 프로그래밍 언어를 위한 매크로 시스템으로, 설계 방식이 Lisp 매크로와 매우 유사합니다. 기본적으로 Sugar는 기존의 Tcl [proc] 명령 대신 [sugar::proc] 명령을 사용하여 Tcl 프로시저를 만드는 새로운 방법을 제공하며, 프로시저가 생성될 때 인라인으로 확장되는 매크로를 정의할 수 있는 방법을 제공합니다.

 

Sugar is a macro system for the Tcl programming language, with a design very similar to Lisp macros. Basically it provides a new way to create Tcl procedures, using the [sugar::proc] command instead of the normal Tcl [proc] command, and a way to define macros that are expanded inline when the procedure is created.

For a quick API description check the API.txt file in this directory.
For more information in a tutorial form check http://mini.net/tcl/sugar
For some example, check the 'example' directory.

Enjoy,
Salvatore Sanfilippo

sugar-0.1.tar.gz
0.01MB

'Tcl & Tk > 확장 패키지 (Extension Package)' 카테고리의 다른 글

yajl-tcl 1.8.1  (0) 2025.08.27
TclMixer 1.2.3  (0) 2025.08.27
SMARTPACK  (0) 2025.08.27
Extral 2.1.0  (0) 2025.08.27
tcljudy 1.0.1  (0) 2025.08.27