diff --git a/contrib/lindenmayer/lindenmayer.factor b/contrib/lindenmayer/lindenmayer.factor index 6d564df49a..64c0622877 100644 --- a/contrib/lindenmayer/lindenmayer.factor +++ b/contrib/lindenmayer/lindenmayer.factor @@ -579,8 +579,4 @@ tabular-output ; : .vec ( vector -- ) [ 2 decimal-places ] map . ; -! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -PROVIDE: lindenmayer ; - ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \ No newline at end of file diff --git a/contrib/space-invaders/readme.txt b/contrib/space-invaders/readme.txt index f996d2f869..cda70ae9de 100644 --- a/contrib/space-invaders/readme.txt +++ b/contrib/space-invaders/readme.txt @@ -4,7 +4,6 @@ emulator, disassembler and assembler for the 8080 processor. It is integrated into the Factor module system, the following will load all necessary files and run it: - "contrib/space-invaders" require "contrib/space-invaders" run-module For this to work it needs a ROM file called 'invaders.rom' in the diff --git a/contrib/tetris/README.txt b/contrib/tetris/README.txt index 99ce69937d..7e7a47011b 100644 --- a/contrib/tetris/README.txt +++ b/contrib/tetris/README.txt @@ -1,6 +1,5 @@ This is a simple tetris game. To play, open factor (in GUI mode), and run: -"contrib/tetris" require "contrib/tetris" run-module This should open a new window with a running tetris game. The commands are: diff --git a/library/modules.factor b/library/modules.factor index 1acb720bae..0ab5d9ea19 100644 --- a/library/modules.factor +++ b/library/modules.factor @@ -76,6 +76,7 @@ C: module ( name files tests -- module ) all-modules [ reload-module ] each do-parse-hook ; : run-module ( name -- ) + dup require dup module module-main [ call ] [