Author Topic: Question 31 goes here  (Read 6987 times)

0 Members and 1 Guest are viewing this topic.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Question 31 goes here
« on: September 21, 2005, 01:40:05 PM »
Quote
How to compile a list of lisp files into a single fas file?
TheSwamp.org  (serving the CAD community since 2003)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 31 goes here
« Reply #1 on: September 21, 2005, 01:52:51 PM »
Add files via the 'LISP files to include' dialogue ...

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Question 31 goes here
« Reply #2 on: September 21, 2005, 01:56:12 PM »
Ok .. my response would be why? ... but just in case ... two methods I can use to do just such a thing ...

Combine the various lisp files into one single file then compile or add the other lisp files as resources to the main lisp in the fas ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 31 goes here
« Reply #3 on: September 21, 2005, 01:57:32 PM »
Yep, if you go that route you can command line compile via (vlisp-compile ...).

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Question 31 goes here
« Reply #4 on: September 21, 2005, 01:58:57 PM »
Add files via the 'LISP files to include' dialogue ...

:)

Nope, that would produce various fas - we are looking for a way to get a single fas file and add any lisp file from any location, including path or part of the support paths....

LE

  • Guest
Re: Question 31 goes here
« Reply #5 on: September 21, 2005, 02:00:58 PM »
Ok .. my response would be why? ... but just in case ... two methods I can use to do just such a thing ...

Combine the various lisp files into one single file then compile or add the other lisp files as resources to the main lisp in the fas ...

 :roll:

It is just a question on what to use something to produce a single fas.... as we can package into a vlx extension....

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Question 31 goes here
« Reply #6 on: September 21, 2005, 02:05:47 PM »
Well, considering that FAS is considerably less secure than VLX that is why I stated my comment in that manner.

I prefer breaking up my functions into multiple FAS files (as many as I can) then compile the multiple FAS files into a VLX, seperate namespace and optimized.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 31 goes here
« Reply #7 on: September 21, 2005, 02:08:35 PM »
I'm with Keith, I never use fas files. Enlighten for amusement please.

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 31 goes here
« Reply #8 on: September 21, 2005, 02:09:28 PM »
Never mind.

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Question 31 goes here
« Reply #9 on: September 21, 2005, 02:19:58 PM »
And what is the function usage for that?


Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Question 31 goes here
« Reply #10 on: September 21, 2005, 05:00:27 PM »
(vlisp-compile-list 'st
                    (list "file-a" "file-b" "file-c")
                    "c:\\VL-Compiled\\testCompile.fas"
)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

LE

  • Guest
Re: Question 31 goes here
« Reply #11 on: September 21, 2005, 05:10:27 PM »
(vlisp-compile-list 'st
                    (list "file-a" "file-b" "file-c")
                    "c:\\VL-Compiled\\testCompile.fas"
)

 :kewl:  yes....

Here are some info about others vlisp-xxx functions:

Code: [Select]
;; compile a list of lsp files into a single fas file
;; files do not required the .lsp extension or the path
;; as long they are inside of a support folder.
(vlisp-compile-list
  'st
  (list
    "dtt-general"
    "dtt-inifile"
    "odcl_GPoly")
  "c:\\GPoly.fas")

;; find a vlisp project
(vlisp-find-project "gpoly.prj")
;; "C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/gpoly.prj"

;; make a lsp file into fas
;; same as function "vlisp-compile"
(vlisp-make-file-fas 'st "dtt-general")

;; make all lsp files into fas from a vlisp project
(vlisp-make-project-fas "gpoly.prj")

;; return a list of all fas files with path
;; made from a vlisp project
(vlisp-project-fas-list "gpoly.prj")
;;;("C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/dtt-general.fas"
;;;  "C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/dtt-inifile.fas"
;;;  "C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/odcl_GPoly.fas")

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 31 goes here
« Reply #12 on: September 21, 2005, 06:00:30 PM »
Good stuff, thanks for sharing Mr. Esquivel.

Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 31 goes here
« Reply #13 on: September 21, 2005, 08:24:23 PM »
Question: Who is Jose Rodriguez? Alter Ego?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com • http://cadanalyst.slack.com • http://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Question 31 goes here
« Reply #14 on: September 21, 2005, 08:37:53 PM »
Good stuff, thanks for sharing Mr. Esquivel.



no problema....

Mr? Hey I am just 21..... hehe