This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; NASM Win32 example: print result of X + Y | |
; | |
; Compilation: | |
; 1. Download NASM: https://www.nasm.us/ | |
; Recommended version: nasm-2.14.02-win64.zip | |
; 2. Download Tiny C Compiler: http://tinycc.org/ | |
; Recommended version: tcc-0.9.27-win64-bin.zip | |
; 3. Unpack it. For example: c:\soft\tcc, c:\soft\nasm | |
; 4. Compile: c:\soft\nasm\nasm.exe -felf nasm_ex_sum.asm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grammar EIScript; | |
script | |
: block* ; | |
block | |
: globalVars | |
| declareScript | |
| scriptBlock | |
| worldScript |