Ralf Hemmecke wrote:
>
> Some more analysis...
>
> As I said before, without the .spad files the function
> |findConstructors| from ax.boot cannot do its job properly.
> But what does it actually do?
>
> So currently, I could simply define
>
> (defun my-file-constructors (shortname)
> (list (|unabbrev| shortname)))
>
> and replace |fileConstructors| in src/aldor/gendepap.lsp by this new
> function.
>
Actually, it seems that you want '(list (|abbreviation?| shortname))'
('|unabbrev|' is doing some unneccessary work).
> Of course, there is one big drawback. If at some point somebody decides
> to put several constructors into one .spad file, things will not work
> anymore, because then some dependencies are not detected.
>
I think that the opposite is true: makefiles in 'src/aldor' build
several files (.dep, .ap, ...) for each FriCAS constructor. If you
arrange .spad files differently current way will break. The new one
should still work.
BTW. I would like to remove SRCABBREVS. It is only used to
build Aldor interface, and AFAICS makefiles in 'src/aldor'
should not care about file names of Spad files.
--
Waldek Hebisch
[email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---