Genesis Release: Improved Error reporting in Genesis (r10008)

0 views
Skip to first unread message

Ofer Shacham

unread,
Jan 25, 2012, 5:56:38 PM1/25/12
to genesis...@googlegroups.com
Hi Everyone,

Synopsis: I am happy to report what I think is a nice improvement to the Genesis compiler, for error reporting. This version is 
saved as r10008. For Stanford users, this is your default once you open a new shell.

Problem: As you probably noticed, buggy genesis code is hard to trace back to the vp file since the compile error is 
often pointing to the un-friendly .pm file. 

Solution: New version should be doing better reporting in many (maybe even most) cases. It now also has a touch 
of color as per Megan's request. (FYI, you can also compile with "-debug 1" to get a more verbose stack dump).


Here is a screen shoot of what you will see next time you compile and have a syntax error in your perl code:
image.png

Best,
Ofer.

--

Ofer Shacham, PhD
Stanford University / Chip Genesis, Inc.  
Mailto:sha...@alumni.stanford.edu
Phone: 1-650-8626017


image.png
Reply all
Reply to author
Forward
0 new messages