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
| Red [ | |
| Title: "Red program structure checker" | |
| Purpose: {Check if brackets/parens are matching in a Red file | |
| and give errors with indication of line number} | |
| Author: "Rudolf W. MEIJER" | |
| File: %check-structure.red | |
| History: [ | |
| [0.0 04-Jan-2019 {Start of project}] | |
| [0.5 05-Jan-2019 {First working version}] | |
| [0.6 01-Feb-2019 {Added %" "}] |
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
| Red [] | |
| ctx: context [ | |
| char: charset {([{}])"} ;" | |
| opens: charset "[(" | |
| closes: charset "])" | |
| line: 1 | |
| stack: make block! 1000 | |
| mark: comm: none | |
| instr: false | |
| inmulti: 0 |
OlderNewer