mirror of
https://gitlab.cs.washington.edu/fidelp/frustration.git
synced 2024-12-25 21:58:11 +01:00
Strip comments in preparation for making a REAL writeup
This commit is contained in:
parent
0ea3d6e148
commit
8137ccd602
1 changed files with 1 additions and 17 deletions
|
@ -1,6 +1,3 @@
|
|||
/* --- The virtual CPU ---
|
||||
*/
|
||||
|
||||
use std::io;
|
||||
use std::io::Read;
|
||||
use std::io::Write;
|
||||
|
@ -171,18 +168,6 @@ const PRIMITIVES: [Primitive; 16] = [
|
|||
}
|
||||
];
|
||||
|
||||
/* --- The memory map ---
|
||||
*/
|
||||
|
||||
/* --- The dictionary format ---
|
||||
*/
|
||||
|
||||
/* --- The threading kind ---
|
||||
*/
|
||||
|
||||
/* --- Create the dictionary ---
|
||||
*/
|
||||
|
||||
struct Dict<'a> {
|
||||
dp: u16,
|
||||
here: u16,
|
||||
|
@ -344,8 +329,7 @@ fn build_dictionary(c: &mut Core) {
|
|||
d.entry(); d.name(1, *b"' ");
|
||||
forth!(word, find, RET);
|
||||
|
||||
/* --- The outer interpreter ---
|
||||
*/
|
||||
/* --- The outer interpreter --- */
|
||||
|
||||
// x10 ( n -- n*10 )
|
||||
d.entry(); d.name(3, *b"x10"); let x10 = d.here;
|
||||
|
|
Loading…
Reference in a new issue