Whitespace语言源码转换工具 Ulpia

码农软件 · 软件分类 · 其他开发相关 · 2019-10-21 12:44:54

软件介绍

Ulpia是一个Whitespace语言源码转换工具。Whitespace语言的源码中只包含三种字符:Space(空格)、Tab(制表符)和Linefeed(换行),而这三种字符都是不可见的字符,这会给Whitespace源码的编写造成很大困难。一个可行的方案,是用三组其他的字符串,替代Whitespace源码中的不可见字符,通过组合这三组可见的字符串,来编写Whitespace的程序逻辑,程序编写完毕后,再将写好的文本转换成Whitespace编译器可以识别的程序源码。Ulpia就是用来执行这个任务的。

Ulpia的使用方法:

#将源码source.txt转换为可视文本保存到temp.txt 
python Ulpia_WhitespaceTranslator.py -e source.txt temp.txt 
#将源码temp.txt转换为Whitespace编译器可识别的源码并保存到source.txt 
python Ulpia_WhitespaceTranslator.py -d temp.txt source.txt

调用方法如图:Python版本2.7.9,通过Win7下的cygwin调用

本文地址:https://codercto.com/soft/d/17239.html

HTTP Essentials

HTTP Essentials

Stephen A. Thomas、Stephen Thomas / Wiley / 2001-03-08 / USD 34.99

The first complete reference guide to the essential Web protocol As applications and services converge and Web technologies not only assume HTTP but require developers to manipulate it, it is be......一起来看看 《HTTP Essentials》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具