From: Michael D. Lowis Date: Mon, 10 Feb 2020 03:13:32 +0000 (-0500) Subject: added TODO list X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=b515915a03766993d48669afb49b233bd023c3d3;p=proto%2Fsclpl-rb.git added TODO list --- diff --git a/compile.rb b/compile.rb index 3cde1ed..5c609d7 100755 --- a/compile.rb +++ b/compile.rb @@ -1,5 +1,9 @@ #!/usr/bin/env ruby +# TODO: +# * Import only public APIs +# * + require 'strscan' module Type @@ -584,6 +588,7 @@ class Package @name = parse.module() @imports = parse.imports() @imports.each do |m| + next if Modules[m] pkg = Package.new("lib/#{m.downcase}.m", api_only = true) Modules[pkg.name] = pkg.definitions() end