无需安装即可从USB记忆棒中获得确定的编程语言 [英] OK Programming language from USB stick with no installation
问题描述
我正在寻找一种具有基本数学支持和文件IO的语言的编译器或解释器,这些语言可以直接从Linux或Windows中的记忆棒执行.具有基本数据结构和排序/搜索功能的内置功能将是一个加分.
I'm looking for a compiler or interpreter for a language with basic math support and File IO which can be executed directly from a memorystick in either Linux or Windows. Built in functionality for basic datastructures and sorting/searching would be a plus.
(我已经阅读了有关可移动python的文章,但它仅支持Windows)
(I've read about movable python, but it only supports windows)
谢谢
推荐答案
Not sure what are the issues there for the other languages, but I am pretty sure that Lua will work fine on such environment.
它非常适合您的需求:基本的I/O,数学函数,出色的数据结构(全部基于数字和关联数组,并带有任何类型的键/值,允许最复杂的操作).
奖励:学习起来非常简单(至少是针对基础的),易读且功能强大.并且它开始具有许多有用的库,套接字,正则表达式和解析器,GUI等.
It is perfect for your requirements: basic I/O, math functions, excellent data structures (all based on numeric and associative array, with any kind of key/values, allowing the most complex operations).
Bonus: very simple to learn (for the bases, at least), readable, and powerful when you start to dig. And it starts to have a number of useful libraries, sockets, regexes and parsers, GUI, etc.
这只是一个二进制文件,根本不需要安装,没有注册表访问权限,没有文件访问权限(除了读取二进制文件和脚本!),如果没有要求,则完全透明:它经常用在嵌入式系统中,经常受内存限制,Roms等上.
It is just a single binary file, no install at all, no registry access, no file access (beyond reading the binary and script!) if not requested, totally transparent: it is often used in embedded system, often memory constrained, on Roms, etc.
这篇关于无需安装即可从USB记忆棒中获得确定的编程语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!