| BREAK | Control Flow |
| CALL | Control Flow |
| COMMON | Control Flow/Functions |
| CONTINUE | Control Flow |
| DATA | DATA? |
| DEC | Math? |
| DEF | Control Flow/Functions |
| DIM | Variable? |
| ELSE | part of IF page |
| ELSEIF | part of IF page |
- HTML is unambiguous but painful to type
- Markdown syntax is bad (links are backwards)
- Others supported on github don’t suit our needs
In general markups have one or more of four problems:
- Missing features [1]
- Bad syntax [2]
- Bad implementations [3]
- Evil [4]
PRINT [value_1 [, ...][; ...]]
{{{ haskell PRINT [value_1 [, ...][; ...]] }}}
{{{ .haskell PRINT [value_1 [, ...][; ...]]
This file contains hidden or 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
| root = true | |
| [*] | |
| indent_style = tab | |
| indent_size = 2 |
#+BEGIN_COMMENT
#+BEGIN_SRC diff
-block 1
#+END_SRC
#+BEGIN_SRC diff
+block 2
#+END_SRC
#+END_COMMENT
This file contains hidden or 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
| Add-Type @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| public class Win32 { | |
| [DllImport("user32.dll")] | |
| public static extern void mouse_event(int flags, int dx, int dy, int cButtons, int info); | |
| [DllImport("user32.dll")] | |
| [return: MarshalAs(UnmanagedType.Bool)] | |
| public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect); | |
| [DllImport("user32.dll")] |
| code (hex) | instruction |
|---|---|
| 36 | CHKLABEL |
| 37 | CHKCALL |
| 38 | CHKVAR |
| 39 | ??? |
| 3A | ??? |
| 3B | ??? |
| 3C | POP |
| 3D | SHIFT |
This file contains hidden or 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
| DIM STACK0[0],STACK1[0] | |
| DIM STACK2[0],STACK3[0] | |
| DIM STACK4[0],STACK5[0] | |
| DIM STACK6[0],STACK7[0] | |
| DIM STACK8[0] | |
| 'Registers | |
| VAR r0%, r1%, r2%, r3%, r4%, r5%, r6% | |
| VAR r7% 'pc | |
| VAR NUMERIC% 'special fake register for numeric literals | |
| VAR CYCLES% |
This file contains hidden or 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
| #PowerShell: convert strings copied as integers back to byte-characters | |
| function convertchars([uint32]$a){return [bitconverter]::GetBytes([uint32]$a) | %{[char]$_}} |
This file contains hidden or 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
| CLS | |
| DIM CONSHEIGHT%:CONSHEIGHT% = 30 | |
| DIM TITLE$,START$:TITLE$ = "a game about anime":START$ = "PRESS START" | |
| GOSUB @INITTIMERS | |
| TITLEPRINT TITLE$, 0, 0 | |
| EAT CREATETIMER("TEXTON", 40) | |
| EAT CREATETIMER("TEXTOFF", 80) |