Eli Barzilay
fb027536f4
a little more readable code layout
...
svn: r10513
2008-06-30 01:48:23 +00:00
Eli Barzilay
9a900b37aa
Optional prefix message to exception, so we dont lose information from
...
exceptions. For example, in (module foo scheme/lang ...) we should
still see the real error message.
svn: r10510
2008-06-29 22:54:51 +00:00
Eli Barzilay
e3371b98fd
* Catch errors in reading the module text and raise them as hopeless
...
too.
* Use `error-display-handler' instead of `let/ec' hack
* Expand the module expression, and if there's an error, try a bare
language-only module so the repl is still working (but no
definitions, of course)
svn: r10508
2008-06-29 22:41:15 +00:00
Eli Barzilay
c3fae01528
show warning text, transform-module reorganization for hacking language
...
svn: r10505
2008-06-29 20:09:56 +00:00
Eli Barzilay
f4d5f5c085
* Moved (thread-cell-set! hopeless-repl #f) to a better place --
...
later, after we do some more checks
* Add a clarification comment re minor-hack needed.
svn: r10502
2008-06-29 05:07:44 +00:00
Eli Barzilay
32cb7bcdfc
* Single function for syntax errors, used in all places for uniformity
...
* Improved some error messages and detection
* When this function is used, it also kills the repl.
svn: r10501
2008-06-29 05:00:08 +00:00
Eli Barzilay
b535037d2a
use append-map
...
svn: r10491
2008-06-28 17:08:53 +00:00
Robby Findler
707315b1b4
restored Eli's syntax error improvements
...
svn: r10370
2008-06-19 06:19:16 +00:00
Robby Findler
c1217de228
fixed problem with completions
...
svn: r10337
2008-06-18 05:48:16 +00:00
Eli Barzilay
b93d242aa5
restore unmodified version
...
svn: r10336
2008-06-18 04:53:31 +00:00
Eli Barzilay
f4926472b8
remove changed code
...
svn: r10335
2008-06-18 04:50:58 +00:00
Eli Barzilay
e3fa49cdff
keep the language repl if we get a syntax error
...
svn: r10319
2008-06-17 17:45:53 +00:00
Eli Barzilay
2c94de20aa
hack: use a special value with exit to avoid popup message (no need for it now)
...
svn: r10317
2008-06-17 17:25:30 +00:00
Eli Barzilay
b6827d2d0b
Now all module syntax errors kill the repl
...
svn: r10314
2008-06-17 16:06:35 +00:00
Eli Barzilay
8e4e964a65
Announce no interactions, kill repl on malformed module expression too
...
svn: r10313
2008-06-17 15:53:09 +00:00
Eli Barzilay
45bdf4e76d
kill the running thread when there is no module (or bad module) so further interactions are disabled
...
svn: r10312
2008-06-17 15:38:13 +00:00
Eli Barzilay
819964baba
Use "Module Language" for all error messages
...
svn: r10311
2008-06-17 15:26:42 +00:00
Eli Barzilay
6b940c07de
simplified code by separating two steps instead of one
...
svn: r10298
2008-06-16 19:25:28 +00:00
Eli Barzilay
cb410d1f87
descriptive error message
...
svn: r10297
2008-06-16 19:16:19 +00:00
Eli Barzilay
e7b2ca7c60
Improved code that analyzes the module expression
...
svn: r10296
2008-06-16 18:56:23 +00:00
Eli Barzilay
559517497b
minor
...
svn: r10295
2008-06-16 17:59:55 +00:00
Eli Barzilay
fbb652713b
use a single printf
...
svn: r10294
2008-06-16 17:55:13 +00:00
Eli Barzilay
1386b63116
* Misc reformatting and improvements (using for loops now)
...
* Removed (unused) toplevel op/oprintf, and switch to scheme/unit
(=> code outdented, but remember `-x -w' for svn diff/blame/etc)
* Remove unused `get-module-name-prefix'
svn: r10289
2008-06-16 15:49:07 +00:00
Eli Barzilay
922842d9d8
Change `bad module name' error message to use "syntax" instead of
...
"object", and make it use the syntax object so the error points at the
right place in the definitions window.
svn: r10287
2008-06-16 15:02:07 +00:00
Eli Barzilay
ba22d2a6e6
Replace remove-suffix' by
path-replace-suffix'
...
svn: r10284
2008-06-16 14:08:59 +00:00
Robby Findler
ffaadf6a31
adjusted test for the hopeless repl
...
svn: r10281
2008-06-16 12:49:09 +00:00
Robby Findler
9ca7c1e2fe
another attempt a friendlier first message
...
svn: r10264
2008-06-15 01:41:27 +00:00
Robby Findler
c4ac2429bb
some improvements to the repl in the module language when there is no module there
...
svn: r10261
2008-06-14 02:58:30 +00:00
Matthew Flatt
2a728cdf3c
fix bug in namespace-require/constant that caused a Check Syntax bug; fix DrScheme's source location for module forms; tweak help output to use right font for class names
...
svn: r10113
2008-06-03 22:01:10 +00:00
Robby Findler
612f26972e
improved the error reporting in the REPL and misc other minor changes
...
svn: r10014
2008-05-29 04:55:43 +00:00
Robby Findler
758f6bb839
cleaned up the rest of the executable creation code
...
svn: r9949
2008-05-25 02:26:29 +00:00
Robby Findler
c5f4bc9e20
emptied the namespace when executing a module
...
svn: r9923
2008-05-21 17:43:14 +00:00
Robby Findler
7262a7a19d
used to depend on unique #() but not anymore
...
svn: r9425
2008-04-23 13:37:59 +00:00
Robby Findler
f0f27e2e2c
removed mz,mred,slideshow languages and made module language's initial REPL be scheme/base instead of mzscheme
...
svn: r9384
2008-04-21 19:00:18 +00:00
Matthew Flatt
b64d03d932
fix mac sdk support; change initial namespace to not have 'module'; set up mzc --c-mods (still need docs)
...
svn: r8997
2008-03-16 23:08:53 +00:00
Eli Barzilay
b1a08edd5a
use new require specs in many places
...
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
396dd54b06
call-with-exception-handler change, plus some configure/Makefile changes that didn't help fix the built-on-10.5-for-10.4 problem but are still healthier in the long run
...
svn: r8102
2007-12-22 12:41:48 +00:00
Robby Findler
aa3cdcc76b
reverted that change, on Matthew's advice
...
svn: r7962
2007-12-11 16:41:25 +00:00
Robby Findler
17991b6d55
gets the default collection paths in a better way
...
svn: r7961
2007-12-11 15:58:00 +00:00
Matthew Flatt
39cedb62ed
v3.99.0.2
...
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
6b6f397a64
finished auto completion integration
...
svn: r7304
2007-09-10 00:46:31 +00:00
Robby Findler
43e4dc5e5b
cleanup as suggested by John
...
svn: r7282
2007-09-06 02:03:14 +00:00
Robby Findler
6479c5483d
retabified
...
svn: r6999
2007-08-02 06:36:24 +00:00
Robby Findler
0b61b9b313
fixed PR 8828
...
svn: r6970
2007-07-26 01:24:44 +00:00
Robby Findler
6a7b44f92e
fixed PR 8703
...
svn: r6361
2007-05-28 18:25:39 +00:00
Robby Findler
414a200f4c
fixed PR 8681
...
svn: r6230
2007-05-18 14:19:26 +00:00
Robby Findler
41d4b5d28e
changed teachpacks to be language specific
...
svn: r6145
2007-05-04 20:45:15 +00:00
Robby Findler
031cd94b5c
a few changes to the automaically changing language stuff, plus more white-on-black improvements
...
svn: r5917
2007-04-10 19:41:09 +00:00
Robby Findler
8296a6a78c
when runtime errors occur, still install namespace
...
svn: r5839
2007-03-27 22:26:37 +00:00
Robby Findler
e3776e5476
added 'module' wrapper for saved files in the teaching languages (and support for that in the drscheme:language:language<%> interface)
...
svn: r5602
2007-02-14 23:23:32 +00:00
Matthew Flatt
7c153c3248
fix conversion of pathnames to module names
...
svn: r5376
2007-01-17 07:02:16 +00:00
Robby Findler
d2ad6d985c
fixed a bug: top-interaction was put around modules in the module language ... dug
...
svn: r5182
2006-12-25 11:16:42 +00:00
Eli Barzilay
3459c3a58f
merged units branch
...
svn: r5033
2006-12-05 20:31:14 +00:00
Robby Findler
991ce520f7
removed uses of define/contract
...
svn: r4857
2006-11-15 02:57:27 +00:00
Robby Findler
43ecc114d1
remove 'expand' in module language implementation
...
svn: r4141
2006-08-25 18:04:09 +00:00
Robby Findler
4c9868bf8c
got rid of get-language-id, in favor of using get-language-numbers in the preference for the current language
...
svn: r4079
2006-08-17 16:05:41 +00:00
Robby Findler
67f4db819d
fixed PR 8186
...
svn: r4064
2006-08-15 03:10:15 +00:00
Robby Findler
28cab1f45b
another attempt at PR 8136
...
svn: r3448
2006-06-23 18:44:42 +00:00
Robby Findler
98c5c33845
removed earlier module language fix because it wasn't really a fix ...
...
svn: r3441
2006-06-22 21:53:22 +00:00
Robby Findler
80676c721a
some progress on PR 8136 and incidental bug fixes
...
svn: r3435
2006-06-22 13:34:31 +00:00
Matthew Flatt
09d6dd95cf
new Create Executable in DrScheme
...
svn: r3178
2006-06-02 11:52:48 +00:00
Robby Findler
fddb1fa862
updated many unions to or/c's
...
svn: r2061
2006-01-31 19:17:33 +00:00
Eli Barzilay
017d151d59
Adding collects, with all the right properties (except eoln-style).
...
svn: r3
2005-05-27 18:56:37 +00:00