From: Roman on
Dear group members,
I have written a package (as a *.m) file and wish to publish it
without giving everybody access to the source code. Is there a way to
do this? I have tried using DumpSave, which goes part of the way by
removing the comments from the source code. But I'd prefer total code
obfuscation or compilation.
Thanks!
Roman

From: Murta on
Try this link:
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=FAQ_Writing_Packages
I think that has your answer.

[]'s
Murta

From: Murray Eisenberg on
Read the docs about:

Encode
Locked
Package Bulletproofing
Package Development

On 7/10/2010 4:00 AM, Roman wrote:
> Dear group members,
> I have written a package (as a *.m) file and wish to publish it
> without giving everybody access to the source code. Is there a way to
> do this? I have tried using DumpSave, which goes part of the way by
> removing the comments from the source code. But I'd prefer total code
> obfuscation or compilation.
> Thanks!
> Roman
>

--
Murray Eisenberg murray(a)math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305

From: Bill Rowe on
On 7/10/10 at 4:00 AM, rschmied(a)gmail.com (Roman) wrote:

>Dear group members, I have written a package (as a *.m) file and
>wish to publish it without giving everybody access to the source
>code. Is there a way to do this? I have tried using DumpSave, which
>goes part of the way by removing the comments from the source code.
>But I'd prefer total code obfuscation or compilation. Thanks! Roman

Read the documentation for ReadProtected and Encode. Encode can
be used to create a file that can be read in using Get or Needs,
but cannot be meaningfully read by an external editor.
ReadProtected allows things to be defined so that the
definitions cannot be viewed by a Mathematica user.


From: David Park on
Look up

?Encode


David Park
djmpark(a)comcast.net
http://home.comcast.net/~djmpark/



From: Roman [mailto:rschmied(a)gmail.com]

Dear group members,
I have written a package (as a *.m) file and wish to publish it
without giving everybody access to the source code. Is there a way to
do this? I have tried using DumpSave, which goes part of the way by
removing the comments from the source code. But I'd prefer total code
obfuscation or compilation.
Thanks!
Roman