User Tools

Site Tools


crpl:overview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
crpl:overview [2020/12/07 18:33] – Changed blue to cyan to look better on black Grabzcrpl:overview [2020/12/07 18:42] – <note> -> <WRAP info> Grabz
Line 5: Line 5:
 CRPL (**<color cyan>C</color>**reeper **<color cyan>R</color>**everse **<color cyan>P</color>**olish **<color cyan>L</color>**anguage) is a stack-based, Reverse Polish Notation language. There, now that we've said it, what does it mean? CRPL (**<color cyan>C</color>**reeper **<color cyan>R</color>**everse **<color cyan>P</color>**olish **<color cyan>L</color>**anguage) is a stack-based, Reverse Polish Notation language. There, now that we've said it, what does it mean?
  
-CRPL programming is similar to programming a HP calculator or Forth language programming. If this is not something you have done, read on for a brief introduction to CRPL and stack-based programming. <note>For a more detailed CRPL explanation, see the [[crpl:crpltutorial|Tutorial]].</note>+CRPL programming is similar to programming a HP calculator or Forth language programming. If this is not something you have done, read on for a brief introduction to CRPL and stack-based programming. <WRAP info>For a more detailed CRPL explanation, see the [[crpl:crpltutorial|Tutorial]].</WRAP>
  
 Each CRPL instruction (term) uses one or more arguments that are on a "stack". The most recent argument on the stack will be used first. This is called LIFO (**L**ast **I**n, **F**irst **O**ut). In return, the instruction may also place new arguments on the stack as part of its output. These new arguments are first in line to be consumed by the next instruction to be executed. Each CRPL instruction (term) uses one or more arguments that are on a "stack". The most recent argument on the stack will be used first. This is called LIFO (**L**ast **I**n, **F**irst **O**ut). In return, the instruction may also place new arguments on the stack as part of its output. These new arguments are first in line to be consumed by the next instruction to be executed.
Line 20: Line 20:
 <code>2 9</code> <code>2 9</code>
  
-<note> +<WRAP info>You can find more commands and detailed explanations of them in the [[crpl:crplreference|CRPL Reference]]!</WRAP>
-You can find more commands and detailed explanations of them in the [[crpl:crplreference|CRPL Reference]]! +
-</note>+
  
 ===== Comments ===== ===== Comments =====
Line 158: Line 156:
 Any text editor can be used to edit CRPL files. However, syntax highlight and auto completion support files are provided for several available editors. Any text editor can be used to edit CRPL files. However, syntax highlight and auto completion support files are provided for several available editors.
  
-<note>See how others created their maps! You can extract the CRPL scripts and custom images from any CW3 game file. The guide to [[examine map resources]] will show you how to retrieve these resources from other maps.</note>+<WRAP info>See how others created their maps! You can extract the CRPL scripts and custom images from any CW3 game file. The guide to [[examine map resources]] will show you how to retrieve these resources from other maps.</WRAP>
  
 ==== Notepad++ ==== ==== Notepad++ ====
crpl/overview.txt · Last modified: 2023/10/18 15:50 by Bob