From b515915a03766993d48669afb49b233bd023c3d3 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Sun, 9 Feb 2020 22:13:32 -0500 Subject: [PATCH] added TODO list --- compile.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.52.0