Menu

#2 Various small changes for better usability or error messages

open
nobody
None
5
2005-03-11
2005-03-11
Mark Hurd
No

See src-patch.zip at
http://www.ozemail.com.au/~markhurd/DotLispPatch.ht
ml

Direct link: http://www.ozemail.com.au/~markhurd/src-
patch.zip

Changes:
assemblyinfo.cs
AssemblyVersion matches SourceForge version.
Specify a keyfile so NGEN is possible.

clslateboundmember.cs
Better error re missing target for .Method .

clsmethod.cs
Better error re missing target for .Type:Method .

cons.cs
Cons.GetHashCode doesn't fail in a checked build.
Cons.ToString doesn't throw a null reference exception
when first is nil.

expressions.cs
(dynamic-let (x nil) ... now fails with the
exception "Dynamic vars must have prefix *", instead of
an InvalidCastException.

interpreter.cs
!, the last exception, is now intially nil, not undefined.
Internal symbols DEF, BREAK and EOF are unused by
the C# code, so I commented them out.

reader.cs
Avoid checked build issues with ((Char)-1).
Eat all \r & \n at end of comment.

--

The src-patch.zip includes the above changed files,
my .csc build files (compile with csc @file.csc) and the
source of my VB.NET based REPL exe that attempts to
catch Ctrl+C (and fails often, as documented in various
newsgroup posts). [My extra.lisp relies on the VB.NET
runtime being loaded for some functionality.]

Discussion


Log in to post a comment.