2019-03-15 19:35:34 +01:00
|
|
|
#!/usr/bin/env retro
|
|
|
|
|
|
|
|
~~~
|
|
|
|
'book/ 'BOOK-BASE s:const
|
|
|
|
'Out var
|
|
|
|
|
2019-03-18 15:52:49 +01:00
|
|
|
:import here swap BOOK-BASE s:prepend file:slurp ;
|
|
|
|
:\n ASCII:LF @Out file:write ;
|
|
|
|
:add-to-book here [ @Out file:write ] s:for-each \n ;
|
|
|
|
:process-files [ import add-to-book ] array:for-each ;
|
2019-03-18 17:20:42 +01:00
|
|
|
:open 'RETRO-Book.md file:open<for-writing> !Out ;
|
2019-03-18 15:52:49 +01:00
|
|
|
:close @Out file:close ;
|
|
|
|
:process open process-files close ;
|
2019-03-15 19:35:34 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
'Overview
|
2019-03-20 12:37:40 +01:00
|
|
|
'Obtaining-Retro
|
2019-03-15 19:35:34 +01:00
|
|
|
'Building-BSD
|
2019-03-18 17:20:42 +01:00
|
|
|
'Building-Linux
|
|
|
|
'Building-macOS
|
|
|
|
'Building-Windows
|
2019-03-15 19:35:34 +01:00
|
|
|
'Starting-BSD
|
2019-03-18 17:20:42 +01:00
|
|
|
'Starting-Linux
|
|
|
|
'Starting-macOS
|
|
|
|
'Starting-Windows
|
2019-03-15 19:35:34 +01:00
|
|
|
'Basic-Interactions
|
2019-03-18 18:58:32 +01:00
|
|
|
'Syntax
|
2019-03-15 19:35:34 +01:00
|
|
|
'Quick-Tutorial
|
2019-03-18 15:52:49 +01:00
|
|
|
'Using-the-Glossary
|
2019-03-15 19:35:34 +01:00
|
|
|
'Programming-Techniques
|
2019-03-18 17:29:53 +01:00
|
|
|
'Programming-Techniques-Unu
|
2019-03-15 19:35:34 +01:00
|
|
|
'Programming-Techniques-Naming-Conventions
|
|
|
|
'Programming-Techniques-Stack-Diagrams
|
|
|
|
'Programming-Techniques-Word-Classes
|
|
|
|
'Programming-Techniques-Using-Combinators
|
|
|
|
'Programming-Techniques-Working-With
|
|
|
|
'Programming-Techniques-Working-With-Arrays
|
|
|
|
'Programming-Techniques-Working-With-Buffer
|
|
|
|
'Programming-Techniques-Working-With-Characters
|
|
|
|
'Programming-Techniques-Working-With-Dictionary
|
|
|
|
'Programming-Techniques-Working-With-Floating-Point
|
|
|
|
'Programming-Techniques-Working-With-Numbers
|
|
|
|
'Programming-Techniques-Working-With-Pointers
|
|
|
|
'Programming-Techniques-Working-With-Strings
|
|
|
|
'Programming-Techniques-Writing-Combinators
|
2019-03-18 15:52:49 +01:00
|
|
|
'Programming-Techniques-Return-Stack
|
2019-03-18 17:52:03 +01:00
|
|
|
'Programming-Techniques-Working-With-Assembly
|
2019-03-15 19:35:34 +01:00
|
|
|
'Internals
|
|
|
|
'Internals-Nga
|
2019-03-18 18:14:20 +01:00
|
|
|
'Internals-IO
|
|
|
|
'Internals-Interface-Layers
|
2019-03-15 19:35:34 +01:00
|
|
|
'Internals-Retro-Image
|
|
|
|
'Additional-Tools
|
|
|
|
'Advanced-Builds
|
2019-03-19 19:14:28 +01:00
|
|
|
'Retro-Compiler
|
2019-03-15 19:35:34 +01:00
|
|
|
} process
|
|
|
|
~~~
|
|
|
|
|