Jump to content

IPTSCRAE: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
 
(39 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{{Notability|date=March 2015}}
'''Iptscrae''', is the scripting language used to give additional functionality to [[The Palace]] software and servers.


'''Iptscrae''' is a [[Stack-oriented programming language|stack-oriented]] [[scripting language]] used to give additional functionality to [[The Palace (computer program)|The Palace]] software and servers. Its name comes from the pronunciation of "script" in [[Pig Latin]]. [http://geeksrus.com/iptscrae/whatisiptscrae.html]


The language was created by [[Jim Bumgardner]], who in turn was inspired by [[Forth (programming language)|Forth]], another stack-based language. Bumgardner chose this style of language because it is extremely easily to implement an interpreter, since there is no need to support parenthetical groupings or operator precedence.


The idea for the name "iptScrae" was borrowed by Bumgardner from a former colleague and mentor, Kevin Bjorke, who came up with the name "orthFay" for a freeware Forth interpreter in 1983. Bumgardner originally created Iptscrae for Idaho, an in-house multi-media authoring system, similar to HyperCard, which he created while an employee at Warner New Media. He then reused and modified the IptScrae compiler for the Palace project, which was developed in 1994.
{{comp-stub}}

Although it is a [[scripting language]], many have used it to provide additional functionality to many other programs and functions. Forums can be created with Iptscrae while embedding it with [[JavaScript]], as many factions of Iptscrae fans have done in the past.

It's fully possible to implement Iptscrae with other languages, even if they're not on the same dynamic principles. For example, Iptscrae has, in the past, been webbed together with [[Java (programming language)|Java]], JavaScript, [[HTML]], and other artificial languages, including other scripting languages, [[Programming Language|programming languages]], [[specification language]]s, [[query language]]s, and [[markup language]]s to add more end-user interactions and commands to other programs, without sacrificing user-friendliness. In the past years, Iptscrae has even been utilized in computer peer groups through open-source language compilers, using not only [[Transformation language|transformation]] and [[Hardware description language|hardware description]] languages, but also combining it with several other genres of computer languages to create an intertwined web of user-friendliness and application compatibility.

==Example==
The following is a solution to a classic programmer's job interview exercise, [[FizzBuzz]], implemented in Iptscrae.
<pre>
; FizzBuz example in Iptscrae
1 a =
{
"" b =
{ "fizz" b += } a 3 % 0 == IF
{ "buzz" b += } a 5 % 0 == IF
{ a ITOA LOGMSG } { b LOGMSG } b STRLEN 0 == IFELSE
a ++
}
{ a 100 <= } WHILE
</pre>
..or, as one-line direct input:
/""s={n++<nowiki>{{</nowiki>" "n itoa&}{" buzz"}n 5%ifelse}{" fizz"}n 3%ifelse s+=}{101n>}while s logmsg

==Related links==
[http://www.thepalaceportal.com/downloads/iptscrae.pdf Official Iptscrae Language Guide]

[[Category:Scripting languages]]


{{compu-lang-stub}}

Latest revision as of 16:29, 27 July 2023

Iptscrae is a stack-oriented scripting language used to give additional functionality to The Palace software and servers. Its name comes from the pronunciation of "script" in Pig Latin. [1]

The language was created by Jim Bumgardner, who in turn was inspired by Forth, another stack-based language. Bumgardner chose this style of language because it is extremely easily to implement an interpreter, since there is no need to support parenthetical groupings or operator precedence.

The idea for the name "iptScrae" was borrowed by Bumgardner from a former colleague and mentor, Kevin Bjorke, who came up with the name "orthFay" for a freeware Forth interpreter in 1983. Bumgardner originally created Iptscrae for Idaho, an in-house multi-media authoring system, similar to HyperCard, which he created while an employee at Warner New Media. He then reused and modified the IptScrae compiler for the Palace project, which was developed in 1994.

Although it is a scripting language, many have used it to provide additional functionality to many other programs and functions. Forums can be created with Iptscrae while embedding it with JavaScript, as many factions of Iptscrae fans have done in the past.

It's fully possible to implement Iptscrae with other languages, even if they're not on the same dynamic principles. For example, Iptscrae has, in the past, been webbed together with Java, JavaScript, HTML, and other artificial languages, including other scripting languages, programming languages, specification languages, query languages, and markup languages to add more end-user interactions and commands to other programs, without sacrificing user-friendliness. In the past years, Iptscrae has even been utilized in computer peer groups through open-source language compilers, using not only transformation and hardware description languages, but also combining it with several other genres of computer languages to create an intertwined web of user-friendliness and application compatibility.

Example

[edit]

The following is a solution to a classic programmer's job interview exercise, FizzBuzz, implemented in Iptscrae.

; FizzBuz example in Iptscrae
1 a =
{
   "" b =
   { "fizz" b += } a 3 % 0 == IF
   { "buzz" b += } a 5 % 0 == IF
   { a ITOA LOGMSG } { b LOGMSG } b STRLEN 0 == IFELSE
   a ++
}
{ a 100 <= } WHILE

..or, as one-line direct input:

/""s={n++{{" "n itoa&}{" buzz"}n 5%ifelse}{" fizz"}n 3%ifelse s+=}{101n>}while s logmsg
[edit]

Official Iptscrae Language Guide