首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 在Scala中的S表达式的实现

在Scala中的S表达式的实现

  • 资源大小:56.13 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: scala Library stream serialization data

资 源 简 介

S-expressions are a versatile and light weight approach to structured data representation. Data are represented in atoms and structured in lists. Atoms can hold arbitrary data without escaping or any other transformation. S-expressions are a superior choice to XML for non-markup applications (which are most XML applications!). This implementation is inspired by R. Rivest"s proposal: http://people.csail.mit.edu/rivest/Sexp.txt] Here"s an example [a "b" 3:abc ["more stuff" 12:goes in here]] A well formed s-expression is a list. Inside the above list we first see three atoms. The first is a token, the second is a literal C style string, and the third is a length-prefixed string. Length prefixed atoms allow arbitrary binary data and thus provide a huge win for efficiency of space and time in data storage and transmission. The fourth item is a list containing two tokens (the prefix "12" captures the string "goes in her

文 件 列 表

.classpath
.project
build.groovy
source
.svn
main
test
unit
.svn
all-wcprops
entries
all-wcprops
entries
all-wcprops
entries
all-wcprops
entries
all-wcprops
entries
all-wcprops
entries
all-wcprops
entries
s-expressions.jar

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

  • bigfatcat1977 3天前 成为了本站会员

  • just4down 3天前 成为了本站会员

  • shallow 3天前 成为了本站会员

0.190358s