OS4 DepotLogo by DBAlex 
(anonymous IP:,2216) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Development » Misc » emscanner.lha


Description: Scan E sources for imports of modules
Download: emscanner.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 14kb
Version: 1.2
Date: 03 Aug 2013
Author: Thomas Igracki
Submitter: uploader
Requirements: AmigaOS 4.x
Category: development/misc
Replaces: development/misc/emscanner.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 8135
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 46  (Current version)
205  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
This tool scans an E-source-code, for imports of own MODULEs (with "*")
and returns a list of the modules which needs to be compiled!

A module needs to be compiled, if "mod.e" is newer than "mod.m".
It stops searching for MODULE, when PROC is encountered.

You can use EMScanner with my Foreach command to compile all
modules which need to be compiled.
   Foreach `EMScanner EProcLister.e SELF` DO "s:ecx %s"
The output could be:

An alias would look like this:
  Alias ecx "Foreach *`EMScanner [] ADDITSELF*` DO *"s:ecx %s*""
So you could then just write:
  ecx EProcLister.e

The OS4 version is only tested under MorphOS with OS4Emu, and produces hits, but

Usage: EMScanner <main source.e> [SELF=ADDITSELF] [NC=NoCheckForCompilation]
.....: ADDITSELF: add the main source file at the end of the modules list
.....: NC=NoCheckForCompilation: don't check, if the module needs to be compiled

26-Jul-13: v1.2
  new: Now EMScanner scans each found module recursively!
       So an updated module which doesn't get imported from the main source,
       but from a private submodule is now found too!
  chg: The full path of a module is now returned
  new: added NC=NoCheckForCompilation/S: don't check, if a module needs to be

16-Jul-13: v1.1
  fix: If no compiled module (.m) exists, EMScanner failed to compare the dates 
  chg: removed the verbose output

07-Jul-13: v1.0
	first version

Copyright © 2004-2024 by Björn Hagström All Rights Reserved