批处理是否完成? [英] Is Batch turing complete?

查看:44
本文介绍了批处理是否完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到它,并且很好奇-如果它不符合条件,那么它缺少什么功能?我已经完成了相当数量的批处理,并且没有看到任何明显的能力下滑.

I can't find if it is or not and am very curious - if it doesn't qualify, what functionality does it lack to qualify? I have done a decent amount of batch and don't see any obvious slip-ups in ability.

推荐答案

我相信它可以胜任. Turing完整性的基本要求被认为可以简化为一些简单的操作,包括:存储状态的能力(变量),分支的能力(条件)和迭代的能力(循环).批处理具有所有这些,因此,除非对Turing完整性有一些尚未发现的要求,否则批处理脚本是合格的.

I believe it qualifies. The basic requirements of Turing completeness are thought to be reducible to a few simple operations, including: the ability to store state (variables), the ability to branch (conditionals), and the ability to iterate (loops). Batch has all of these, so unless there is some as-yet-undiscovered requirement for Turing completeness, batch scripting qualifies.

这篇关于批处理是否完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆