[M3devel] cm3ide (/ m3browser?) references
Jay K
jay.krell at cornell.edu
Wed Apr 17 18:06:11 CEST 2013
1) I don't know.
but
2) cm3ide I believe is consuming frontend output.
jbook2:python jay$ ls /dev2/cm3/m3-sys/m3front/src/*/*Web*
/dev2/cm3/m3-sys/m3front/src/misc/WebInfo.i3
/dev2/cm3/m3-sys/m3front/src/misc/WebInfo.m3
Likely nobody would object if you augmented this with more information.
It looks like it is structured like putting in another backend, but one that doesn't get all the calls i.e. codegen like load/store/add/call.
book2:python jay$ grep -i webinfo /dev2/cm3/m3-sys/m3front/src/*/*m3
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3:IMPORT Scanner, Error, Module, RunTyme, WebInfo;
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Import_unit (n);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Export_unit (n);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_array (t, index, elt, s);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_open_array (t, elt, s);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_enum (t, n_elts, s);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_enum_elt (n);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_packed (t, s, base);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_record (t, s, n_fields);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_field (n, o, s, t);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_set (t, domain, s);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_subrange (t, domain, min, max, s);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_pointer (t, target, brand, traced);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_indirect (x, target);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_proctype (t, n_formals, result, n_raises);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_formal (n, t);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_raises (n);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_object (t, super, brand, traced,
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_method (n, signature, dfault);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_override (n, dfault);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Declare_opaque (t, super);
/dev2/cm3/m3-sys/m3front/src/misc/CG.m3: WebInfo.Reveal_opaque (lhs, rhs);
/dev2/cm3/m3-sys/m3front/src/misc/WebInfo.m3:MODULE WebInfo;
/dev2/cm3/m3-sys/m3front/src/misc/WebInfo.m3:END WebInfo.
/dev2/cm3/m3-sys/m3front/src/values/Module.m3:IMPORT Host, Token, Revelation, Coverage, Decl, Scanner, WebInfo;
/dev2/cm3/m3-sys/m3front/src/values/Module.m3: WebInfo.Reset ();
/dev2/cm3/m3-sys/m3front/src/values/Module.m3: Host.env.note_webinfo (WebInfo.Finish ());
/dev2/cm3/m3-sys/m3front/src/values/Tipe.m3:IMPORT M3, M3ID, CG, Value, ValueRep, Scope, OpaqueType, WebInfo;
/dev2/cm3/m3-sys/m3front/src/values/Tipe.m3: WebInfo.Declare_typename (uid, t);
I kind of wonder if it could be better structured by actually taking it out of m3front and layering like I have my multiple pass backend.. i.e. a multiplexing backend..
- Jay
From: dragisha at m3w.org
Date: Wed, 17 Apr 2013 11:26:55 +0200
To: m3devel at elegosoft.com
Subject: [M3devel] cm3ide (/ m3browser?) references
cm3ide does not parse procedure bodies for references, only signature elements are parsed/hyperlinked. Is there a way to get internal references parsed/hyperlinked - short of do-it-with-m3tk?
--Dragiša Durićdragisha at m3w.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130417/e0afd277/attachment-0002.html>
More information about the M3devel
mailing list