In fact, that's exactly what the host language schema does.
事实上,这正是宿主语言模式要做的事。
But the reciprocal is true as well: the host language can simultaneously extend Lua.
但是这种融合是双赢的:宿主语言同时也可以对Lua进行扩充。
Some microformats try to tunnel specialized structure into the constructs of the host language.
一些微格式试图把专有的结构嵌入到主体语言的结构中去。
This portion of the validator is still under development, but Listing 5 shows how the host language is defined.
验证程序的这一部分仍在开发之中,但清单5说明了如何定义宿主语言。
The three APIs expose the same functionality using programming methodologies and design patterns specific to the host language.
这三个应用程序接口针对不同的主机语言采用相应的程序设计方法和设计模式,但对外表现为相同的函数功能。
The SOAP library converts the information from the host language and format into an XML-formatted message that contains the function called and the arguments supplied.
soap库将用主机语言编写的信息和格式转化成xml格式的消息,其中包括调用的函数和提供的参数。
From the language design perspective, an external DSL provides the greatest flexibility, since internal DSLs must respect the parsing and language semantics of the host language.
从语言设计的角度来看,外部领域特定语言能够提供最大程度的灵活性,因为内部领域特定语言语言必须遵循宿主语言的解析和语言语义。
Obviously, this is not a big difference, but each statement becomes closer to real plain English sentences, and removes the usual boiler-plate technical code of the host language.
显然,这没有很大的区别,但是每个语句变得更接近浅白的英语句子,而且在宿主语言中删除了通常冗余的技术代码。
Obviously, this is not a big difference, but each statement becomes closer to real plain English sentences, and removes the usual boiler-plate technical code of the host language.
显然,这没有很大的区别,但是每个语句变得更接近浅白的英语句子,而且在宿主语言中删除了通常冗余的技术代码。
应用推荐