Jump to content

Recommended Posts

Posted

What You want to do exactly???

 

Do you want to convert Lisp(*.lsp) file to Fast and Secure(*.fas) files?

 

If yes then try below given code:-

 

;;  LSP2FAS.lsp                                    ; Scot Harris  11-29-2012
;;   Minimizes the sequence needed to create FAS files.
;;   Help facility added.
;;   Streamlined from original program provided by aqdam1978.

(defun c:LSP2FAS-Help (/)
(alert (strcat
 "\tLisp (LSP) to Fast and Secure (FAS) Help"
 "\n "
 "\nFile dialog begins in the current directory.   "
 "\nIt is suggested to place and open a drawing (DWG)   "
 "\ninside the input folder you wish to batch process.   "
 "\n "
 "\nOutput file will be in the same folder as the file selected.   "
 "\n "
 "\nThere is no provisional check for an existing FAS file of the same name.   "
))
);end LSP2FAS-Help

(defun c:LSP2FAS ( / a )
(vl-load-com)
(prompt " Lisp to Fast and Secure (FAS). LSP2FAS-Help available. ")
(if (wcmatch (strcase (setq a (getfiled "Convert LSP File to FAS" (getvar "DWGPREFIX") "" 16))) "*.LSP")
 (progn
  (c:vlide)(vlisp-compile 'st a)
  (princ (strcat "\n File " (vl-string-subst ".fas" ".lsp" a) " created. "))
 );progn
 (alert "File extension must be \".LSP\"   ")
);if
(princ)
);end LSP2FAS

Posted

1) You can use FAS (e.g. using the vlisp-compile function).

 

2) You can convert it to a VLX application (an encrypted LISP file).

Posted
I want to protect my lisp:

 

To protect it from what / Whom ?

 

Does it really matter to protect that simple lisp from others ?

Posted

Too late. I already stole it.:shock:

 

Kidding. Why would I want to?:unsure:

Posted
Too late. I already stole it.:shock:

 

It was on my mind too . :lol:

 

Kidding. Why would I want to?:unsure:

 

It is not a bad idea to protect your work when it deserves to . but not with every simple thing which would make you to look like a giant in front of the newbie Caders :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...