3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-28 21:52:35 +01:00
Commit Graph

458 Commits

Author SHA1 Message Date
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
06d6e0f0d4 Correct handling of concatenated prefixed string literals 2015-02-22 23:58:03 -08:00
Pragmatic Software
6cf818419f Bold more this keywords 2015-02-19 06:42:12 -08:00
Pragmatic Software
31f20e6b94 Fix minor typos 2015-02-19 06:41:38 -08:00
Pragmatic Software
341cad090e Take tied ranking positions into account when determining offset 2015-02-17 01:47:28 -08:00
Pragmatic Software
954563b53a CJeopardy's rank command can now accept an optional offset argument 2015-02-17 01:31:40 -08:00
Pragmatic Software
76bb9a2c5f Group players with identical stats under the same rank
If Bill and Bob both have 10 correct answers, place them both
under the same rank of #5 instead of putting Bill at #5 and
Bob at #6.
2015-02-14 14:03:26 -08:00
Pragmatic Software
6ce05f5a05 CGrammar: support prefixes for character constants and string literals 2015-02-13 21:34:02 -08:00
Pragmatic Software
23f2b10ca7 Use descriptive titles instead of keywords in ranking output 2015-02-13 15:36:45 -08:00
Pragmatic Software
96c9c38215 Improvements to C Jeopardy rank command
Allow specifying a nick to show overall rankings for each category.
Limit rankings to top 15 or bottom 15.
Use temp variables to handle division-by-zero instead of setting player's data.
2015-02-13 14:39:20 -08:00
Pragmatic Software
7b7554802d Correct minor typo; descending --> ascending 2015-02-11 21:38:41 -08:00
Pragmatic Software
edd8762ae2 CJeopardy: Add rank command 2015-02-11 20:58:16 -08:00
Pragmatic Software
95b1f3eee6 Show message about ending own correct answer streak 2015-02-07 08:47:42 -08:00
Pragmatic Software
0da2287cde Implement "quickest answer" score tracking (and disable wrong answer streaks) 2015-01-31 16:41:05 -08:00
Pragmatic Software
e6c18eb428 Fix typo 2015-01-31 16:39:05 -08:00
Pragmatic Software
b7a511a2e1 Additional acceptable alternative answers 2015-01-30 18:41:05 -08:00
Pragmatic Software
adec5c1505 Update C Jeopardy colors 2015-01-30 18:40:19 -08:00
Pragmatic Software
9d4af761ca Add flock semaphore to prevent race conditions 2015-01-29 21:55:46 -08:00
Pragmatic Software
9f5347ab06 Improve streak messages to be more frequent 2015-01-29 01:39:40 -08:00
Pragmatic Software
07a8da6edc Accept valid alternatives to "null character" 2015-01-29 01:24:59 -08:00
Pragmatic Software
652d91d748 Don't show nick unless checking another player's score 2015-01-29 01:23:57 -08:00
Pragmatic Software
f0593fece7 Add score and reset C Jeopardy commands 2015-01-28 13:11:04 -08:00
Pragmatic Software
f14b205148 Minor tweaks to score-streak messages 2015-01-28 03:31:36 -08:00
Pragmatic Software
e656c4f2cc Add scorestreaks to C Jeopardy 2015-01-28 03:04:28 -08:00
Pragmatic Software
1f260c9e94 Improvements to C Jeopardy module
Moved to its own cjeopardy directory.

Added IRCColors module to print colored text.

Added Scorekeeper module to track scoring statistics.
2015-01-28 00:40:40 -08: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
c3dde27328 cjeopardy: If answer is integral, then respond "too big!" or "too small!" respectively 2015-01-24 08:05:47 -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
340cf07558 get_title.pl: remove trailing non-word character 2015-01-23 13:49:16 -08:00
Pragmatic Software
5f9dd151e2 nickometer.pl: update special cases 2015-01-23 13:47:08 -08:00
Pragmatic Software
3010cf1d8d compiler: Lowercase language 2015-01-23 13:46:18 -08:00
Pragmatic Software
ac128312ac cjeopardy.txt: fix typo 2015-01-23 13:43:00 -08:00
Pragmatic Software
5d51fe9795 c2english.pl: show usage if no code, and add -Wno-implicit 2015-01-23 13:41:31 -08:00
Pragmatic Software
938561a2fb math.pl: add cbrt and add optional "the" to 42 question 2015-01-23 13:40: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
Pragmatic Software
540243764f Remove left-over uneeded $comma 2015-01-18 18:52:42 -08:00
Pragmatic Software
a0f0249c8f Use more elegant Perlish method to print supported languages 2015-01-18 18:49:36 -08:00
Pragmatic Software
a41906d323 Add python to compiler_vm languages 2015-01-18 18:36:57 -08:00
Pragmatic Software
5e2cd4fd22 Add bash to compiler_vm languages 2015-01-18 18:36:48 -08:00