全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: tclex  ]

软件包:tcl-tclex(1.2a1-17 以及其他的)

tcl-tclex 的相关链接

Screenshot

Debian 的资源:

下载源码包 tclex

维护小组:

相似软件包:

Lexical analyzer generator for Tcl

tcLex is a lexer (lexical analyzer) generator extension to Tcl. It is inspired by Unix and GNU lex and flex, which are "tools for generating programs that perform pattern-matching on text". tcLex is very similar to these programs, except it uses Tcl philosophy and syntax, whereas the others use their own syntax and are used in conjunction with the C language. People used to lex or flex should then feel familiar with tcLex. tcLex is a small extension (the Windows compiled version is about 20kb, and the source is about 150kb), because it extensively uses the Tcl library. However, the current doesn't use Tcl's regexp code anymore but a patched version is now included in tcLex, which makes it slightly bigger (by a few KB). tcLex should work with Tcl 8.0 and later. tcLex will NEVER work with earlier versions, because it uses Tcl 8.0's "object" system for performance. The most interesting features are:

 * cross-platform support, thanks to Tcl. Though it has been
   developed on Windows and tested on Windows and Unix only, it
   should work on other platforms as long as Tcl exists on these
   platforms. Supported Tcl platforms are Windows 95/NT, Unix (Linux,
   Solaris...) and Macintosh. Other platforms are VMS, OS/2,
   NeXTStep, Amiga...

 * unlike lex and flex, which only generate static lexers written in
   C and intended to be compiled, tcLex dynamically generates Tcl
   commands that can be used like other C commands or Tcl procedures
   from within Tcl scripts or C programs.

 * it uses Tcl regular expressions. That means you don't have to
   learn another regexp language.

 * it works with Tcl namespaces

 * the generated lexer commands can be used in one pass or
   incrementally, because they maintain state information. That way,
   several instances of the same lexer (eg a HTML parser) can run at
   the same time in distinct call frames and maintain distinct states
   (local variables...). Lexer need not be specially designed in
   order to be used incrementally, the same lexer can transparently
   be used in one pass or incrementally. This feature is especially
   useful when processing text from a file or an Internet socket (Web
   pages for example), when data is not necessarily available at the
   beginning of the processing.

其他与 tcl-tclex 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 tcl-tclex

下载可用于所有硬件架构的
硬件架构 版本 软件包大小 安装后大小 文件
alpha (非官方移植版) 1.2a1-17 49.7 kB178.0 kB [文件列表]
amd64 1.2a1-17+b1 50.2 kB171.0 kB [文件列表]
arm64 1.2a1-17 48.5 kB170.0 kB [文件列表]
armel 1.2a1-17 48.0 kB165.0 kB [文件列表]
armhf 1.2a1-17 48.2 kB157.0 kB [文件列表]
hppa (非官方移植版) 1.2a1-17 49.8 kB178.0 kB [文件列表]
i386 1.2a1-17 49.4 kB161.0 kB [文件列表]
ia64 (非官方移植版) 1.2a1-17+b1 53.4 kB209.0 kB [文件列表]
m68k (非官方移植版) 1.2a1-17 48.6 kB169.0 kB [文件列表]
mips64el 1.2a1-17 48.7 kB176.0 kB [文件列表]
ppc64 (非官方移植版) 1.2a1-17 49.4 kB203.0 kB [文件列表]
ppc64el 1.2a1-17 49.2 kB202.0 kB [文件列表]
riscv64 1.2a1-17+b1 48.3 kB165.0 kB [文件列表]
s390x 1.2a1-17 49.8 kB178.0 kB [文件列表]
sh4 (非官方移植版) 1.2a1-17 50.8 kB169.0 kB [文件列表]
sparc64 (非官方移植版) 1.2a1-17 48.5 kB180.0 kB [文件列表]
x32 (非官方移植版) 1.2a1-17 49.8 kB166.0 kB [文件列表]