3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-13 23:49:31 +01:00
Commit Graph

189 Commits

Author SHA1 Message Date
Pragmatic Software
ef3b8f0fbc compiler_vm improvements
Server-side C base now strips print_last_statement() and rebuilds/re-runs code
if there was any bad gdb output related to it (i.e. "No such symbol" or "A
syntax error in expression").
2015-09-17 22:18:14 -07:00
Pragmatic Software
76fc3a33a1 compiler_vm improvements
Compiler watchdog now properly handles signals raised during gdb functions.

Compiler watchdog now times out and flushes output when "hung".
2015-09-17 22:16:23 -07:00
Pragmatic Software
511994025c Update compiler_vm stuff 2015-09-03 21:32:44 -07:00
Pragmatic Software
593fe59263 Do not print values of uninitialized/unassigned objects 2015-08-16 05:19:53 -07:00
Pragmatic Software
b23ea3f212 compiler_vm improvements
Convert escaped characters (\n, \r, \t, etc) in stdin input to literal values.

Fix some print_last_statement() issues.
2015-07-18 08:12:59 -07:00
Pragmatic Software
6a6f0aa7e6 Restore -g flag to -g3 2015-07-17 00:33:04 -07:00
Pragmatic Software
f535d5fb7b Add no_gdb_extensions flag to disable gdb extensions for TenDRA 2015-07-17 00:32:26 -07:00
Pragmatic Software
079a3b9e90 Add print_last_statement() and other misc compiler_vm fixes 2015-07-12 02:54:08 -07:00
Pragmatic Software
cb712af92d Add history directory (compiler_vm) 2015-07-12 02:48:22 -07:00
Pragmatic Software
7638bb031b Fix interactive-editing chained commands 2015-06-16 21:51:09 -07:00
Pragmatic Software
882dea12e4 Add clang++ language option
Update all clang languages to use clang-3.7.
2015-05-18 20:50:11 -07:00
Pragmatic Software
d001720f11 Add qbasic language (using freebasic -lang qb) 2015-05-18 20:49:12 -07:00
Pragmatic Software
06ee49d7ff Update compiler_server.pl 2015-05-18 20:48:39 -07:00
Pragmatic Software
03baaeb81c Refactor handling of --version flags; add --analyze
Move handling of certain language-specific flags out of
compiler_vm_server.pl and into their own language modules.

Add support for clang --analyze.

Java now understands -version.
2015-05-18 20:48:15 -07:00
Pragmatic Software
bc99ac001f Compiler CPU watchdog: print message only when there's load 2015-04-21 01:10:45 -07:00
Pragmatic Software
10c17bd3ad Add watchdog to monitor VM cpu load and reset for excessive load
Detect if VM is running under excessive load (e.g., due to fork bombing)
for longer than a certain period and reset the VM state if so.
2015-04-20 21:33:01 -07:00
Pragmatic Software
ef22f9578d Move backspace handling to base class for all languages 2015-04-16 03:12:07 -07:00
Pragmatic Software
0d69796e6f Increase BC_LINE_LENGTH in bc language 2015-04-16 03:11:10 -07:00
Pragmatic Software
c4659cd4cb Minor cosmetic refactoring of C11 language 2015-04-16 03:10:45 -07:00
Pragmatic Software
766e433d33 Add all standard C++ headers to C++ compiler_vm language 2015-04-16 03:09:32 -07:00
Pragmatic Software
3a7051b32b Perform rudimentary Java language preprocessing 2015-04-10 05:08:07 -07:00
Pragmatic Software
d3eca7544f Add Java language to compiler_vm 2015-04-10 03:43:45 -07:00
Pragmatic Software
518f6d041f Add Go language to compiler_vm 2015-04-09 11:04:34 -07:00
Pragmatic Software
c8f35ddb09 Add Haskell language to compiler_vm 2015-04-09 11:04:18 -07:00
Pragmatic Software
88f6998b12 Improve support for C++ functions within structs/classes 2015-04-09 11:03:42 -07:00
Pragmatic Software
1122f7ede6 Use name field for -info flag 2015-04-09 11:03:04 -07:00
Pragmatic Software
38d109059a Improvements to watchdog
Expand escape sequences
Ignore various text related to no symbol table and to threads
Automatically continue on breakpoints for functions prefixed with underscores (mostly because of C++)
2015-04-09 11:02:20 -07:00
Pragmatic Software
355853c24e Remove indent(1) since it barfs on some C99/C11 constructs 2015-04-06 06:43:08 -07:00
Pragmatic Software
8bbfe2d387 Add scheme language to compiler_vm 2015-04-06 00:49:38 -07:00
Pragmatic Software
332545452f Add clisp language to compiler_vm 2015-04-06 00:49:29 -07:00
Pragmatic Software
a8c813e631 Update C++ compiler_vm to gcc 5.0 and use -std=c++14 2015-04-06 00:48:57 -07:00
Pragmatic Software
2db52fd656 Add Lua language to compiler_vm 2015-04-05 02:32:08 -07:00
Pragmatic Software
d01cbde65b Add JavaScript language to compiler_vm (using Google V8) 2015-04-05 02:31:45 -07:00
Pragmatic Software
4986c786f1 Add FreeBASIC language to compiler_vm 2015-04-05 02:31:09 -07:00
Pragmatic Software
8686a40104 Add C++ language to compiler_vm 2015-04-05 02:30:42 -07:00
Pragmatic Software
14ebbe2533 Add support for using an optional name field to override language
Since Perl modules cannot use certain characters in the module name,
such as the '+' character, modules cannot have names like "c++".

Using a `name` field allows us to use, e.g., "cpp" as the module name
and "c++" as the language name to invoke that module.
2015-04-05 02:29:12 -07:00
Pragmatic Software
137a29cd3c Improve indentation for pretty-pasting; remove newline replacement code 2015-04-05 02:24:56 -07:00
Pragmatic Software
1b342af3a4 Replace newlines outside of literals for all languages; improve interactive-edit replacement logic 2015-04-05 02:24:01 -07:00
Pragmatic Software
2261a5bc75 Don't split numbers across lines; use -l as default optional arg 2015-04-05 02:21:35 -07:00
Pragmatic Software
56a926603f Fix -input option for TenDRA 2015-01-25 13:28:46 -08:00
Pragmatic Software
0f00ceae95 Add -noheaders option to disable pre-included headers 2015-01-24 19:01:44 -08:00
Pragmatic Software
a53b5473ae TenDRA: Show exit code return value from main() 2015-01-24 11:53:23 -08:00
Pragmatic Software
f31ce372cc Add language-specific comments for cmdline/output 2015-01-23 19:24:39 -08:00
Pragmatic Software
03d377000b Use language-specific commenting and syntax highlighter for pastes 2015-01-23 19:23:33 -08:00
Pragmatic Software
7ad726b383 Ensure $last_output is defined 2015-01-22 06:41:55 -08:00
Pragmatic Software
383c9f7813 Add bc language to compiler_vm 2015-01-21 17:43:51 -08:00
Pragmatic Software
361b53a64e Remove -Wa,-Wl flags from tendra cmdline 2015-01-21 17:43:39 -08:00
Pragmatic Software
36f2f91ba0 Add -fsanitize=undefined to gcc cmdlines 2015-01-21 17:43:13 -08:00
Pragmatic Software
48bd04ba31 Remove leading whitespace at beginning of diagnostics 2015-01-21 01:05:49 -08:00
Pragmatic Software
d0a007853c Add sh, ksh and python3 languages 2015-01-20 10:13:09 -08:00