1 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ;; and now
for something completely different
...
3 ;; UrForth
/C Forth Engine
!
4 ;; Copyright
(C
) 2023 Ketmar Dark
// Invisible Vector
6 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9 $include
-once
<bootstrap
>
11 ;; ////////////////////////////////////////////////////////////////////////// //
12 ;; big and slow word optimiser
13 ;; totally doesn
't worth it, but was fun to write
17 $include-once <?sinopt-whole-word>
18 \ .( optimising system words...\n) (sinopt):optimise-system
19 \ .( activating optimiser...\n) (sinopt):activate
25 ;; ////////////////////////////////////////////////////////////////////////// //
26 ;; simple superinstruction optimiser
27 ;; fast, and sometimes is able to do very simple optimisations
31 $include-once <../sinopt-peephole>
37 ;; ////////////////////////////////////////////////////////////////////////// //
38 $include-once <../stdlib>
41 ;; ////////////////////////////////////////////////////////////////////////// //
43 $include-once <?../urasm>
47 $include-once <debugger.f>
50 ;;$IF $STANDALONE OR $URASM-NEW
51 $IF $STANDALONE AND NOT $SKIP-REPL
52 $include-once <?../repl.f>