q66
|
d14c8f8593
|
update to latest ostd
|
2017-01-25 01:57:33 +01:00 |
|
q66
|
58b54aff66
|
do not iterate argv twice
|
2016-10-06 20:29:07 +02:00 |
|
q66
|
da8120f5c8
|
repl cleanup
|
2016-10-05 21:33:59 +02:00 |
|
q66
|
845232605d
|
remove the out stream and re-do the var printing system
|
2016-09-15 21:59:11 +02:00 |
|
q66
|
192ce615d8
|
remove get_err/set_err
|
2016-09-15 21:27:14 +02:00 |
|
q66
|
377e9d7702
|
throw out of the VM on errors
|
2016-09-15 20:55:58 +02:00 |
|
q66
|
b0917ade03
|
use type inference for shorter command funcs
|
2016-09-15 00:42:19 +02:00 |
|
q66
|
e41c3c03a1
|
use exceptions to throw errors
|
2016-09-14 00:14:21 +02:00 |
|
q66
|
4510e53916
|
use normal exception handling to handle errors C++-side, also guarantee valid pointer from alloc
|
2016-09-13 23:47:06 +02:00 |
|
q66
|
f97f896017
|
throwing errors now does not allocate (besides the stack)
|
2016-09-12 21:47:29 +02:00 |
|
q66
|
ce62593840
|
move idents/identmap into internal state
|
2016-09-12 20:04:59 +02:00 |
|
q66
|
931f7294de
|
repl cleanup
|
2016-09-11 23:33:02 +02:00 |
|
q66
|
083f905913
|
explicitly pass CsState to all callbacks (might be a different thread eventually)
|
2016-09-11 23:13:39 +02:00 |
|
q66
|
4f0d6eda87
|
move the pcall func
|
2016-09-10 20:47:56 +02:00 |
|
q66
|
3d39cf73e0
|
formatting
|
2016-09-10 20:45:51 +02:00 |
|
q66
|
9f34c72b21
|
better repl output
|
2016-09-10 20:45:04 +02:00 |
|
q66
|
dc5294bac3
|
re-done pcall without blocks
|
2016-09-10 20:44:06 +02:00 |
|
q66
|
aabfe0f396
|
error reporting improvements
|
2016-09-10 16:22:27 +02:00 |
|
q66
|
87ed89ece8
|
catch missing bracket errors and ask for more input
|
2016-09-10 15:13:07 +02:00 |
|
q66
|
32c53a31a0
|
pass callstack state with errors
|
2016-09-09 19:19:50 +02:00 |
|
q66
|
9b292188c8
|
simple interface to error/pcall on cubescript side
|
2016-09-09 01:18:06 +02:00 |
|
q66
|
bb72c27d2d
|
simple error handling mechanism (will be used extensively later once it improves)
|
2016-09-09 00:42:53 +02:00 |
|
q66
|
cdb5a5f6f8
|
source tree reorg
|
2016-09-07 22:57:28 +02:00 |
|
q66
|
522be08eb0
|
more feature complete REPL
|
2016-09-07 22:46:22 +02:00 |
|
q66
|
2440d2bb9a
|
style update
|
2016-09-07 19:42:12 +02:00 |
|
q66
|
aa367f4a0c
|
cleanups and add alloc method that will be used to request memory
|
2016-09-07 18:58:56 +02:00 |
|
q66
|
df5e2bb507
|
CsValue is null by default
|
2016-09-07 00:01:27 +02:00 |
|
q66
|
3a5b8492b5
|
complete CsValue copy/move semantics
|
2016-09-06 23:39:09 +02:00 |
|
q66
|
f4e9cbf27f
|
use AlignedUnion and fix leaks
|
2016-09-06 20:06:49 +02:00 |
|
q66
|
fb8a793d66
|
allow SIGINT to interrupt infinite loops
|
2016-09-05 21:50:24 +02:00 |
|
q66
|
6c0b6da94d
|
overridable print_var stuff and overridable out/err streams
|
2016-09-02 19:22:19 +01:00 |
|
q66
|
8f1be31ba2
|
remove io library (not general enough)
|
2016-09-02 18:59:04 +01:00 |
|
q66
|
1b12781473
|
rename add_command to new_command
|
2016-09-02 18:03:01 +01:00 |
|
q66
|
d36d24808c
|
many cleanups and api updates
|
2016-09-02 18:01:25 +01:00 |
|
q66
|
6aca518614
|
re-expose command and add hints/completion for now at least with linenoise
|
2016-09-02 17:20:53 +01:00 |
|
q66
|
0ff65e5ed4
|
no need to include ctype.h
|
2016-09-01 17:52:43 +01:00 |
|
q66
|
9672a1091e
|
add support for several line editing approaches (pure stdin, linenoise, libedit, readline)
|
2016-09-01 17:50:02 +01:00 |
|