我在哪里可以找到有关从其他程序构建计算机程序的信息 [英] Where can I find information on building computer programs from other programs

查看:70
本文介绍了我在哪里可以找到有关从其他程序构建计算机程序的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了互联网,但发现了编写构建其他独特程序的程序的有限信息。任何链接

将不胜感激。我的意思是我想用JavaScript等程序构建实际代码来编写其他JavaScript。我已经能够使用PHP和JavaScript取得有限的成功,但我很少得到编译和运行的代码感谢您的时间。



我是什么尝试过:



我在Google上搜索了互联网。

I've searched the internet but find limited information on writing programs that build other unique programs. Any links
would be appreciated. I mean I want to build actual code with a program such as JavaScript writes other JavaScript. I have been able to do this with a limited success using php and JavaScript but I rarely get code that compiles and runs Thanks for your time.

What I have tried:

I've Google searched the internet.

推荐答案

程序创建其他程序通常称为编译器。因此,您需要Google获取将源代码转换为目标代码所需的组件。从lex和yacc开始,它们用于解析源语句, Apache Ant - Welcome [ ^ ]等。
Programs that create other programs are usually called compilers. So you need to Google for the components required to convert source code to object code. Start with lex and yacc, which are used in the parsing of source statements, Apache Ant - Welcome[^] etc.


引用:

我搜索了互联网,但发现了编写构建其他独特程序的程序的有限信息。

I've searched the internet but find limited information on writing programs that build other unique programs.



这些程序的名称是'编译器'。

编写编译器不适合初学者,它是高级主题。

如果你想了解编译器,我推荐龙书:

龙书 - 维基百科 [ ^ ]

编译器:原理,技术和工具 - 维基百科 [ ^ ]


我想你会有更好的运气使用C#或Java进行代码生成;与JavaScript对比。



Java代码生成(元编程,反射,wtv) - 堆栈溢出 [ ^ ]



使用CodeDOM | Microsoft Docs [ ^ ]
I think you will have better luck with "code generation" using C# or Java; versus "JavaScript".

Java Code Generation (Metaprogramming, Reflection, wtv) - Stack Overflow[^]

Using the CodeDOM | Microsoft Docs[^]


这篇关于我在哪里可以找到有关从其他程序构建计算机程序的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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