Search found 4098 matches
- Sat Feb 29, 2020 11:06 pm
- Forum: General Discussion
- Topic: National TMC Appreciation Day
- Replies: 20
- Views: 2440
- Sat Feb 29, 2020 1:02 pm
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
But I actually prefer to run the REPL in a separate process in a terminal emulator so that we get a separate window with text editing, scrollback, readable fonts, etc. all for free. There's no technical problem using a parser generator that produces C and linking it in; C and FB code modules can be ...
- Sat Feb 29, 2020 2:57 am
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
- Sat Feb 29, 2020 2:21 am
- Forum: Q&A Discussion
- Topic: [Solved] Getting OHRRPGCE to run on linux, help needed :-(
- Replies: 18
- Views: 2604
- Thu Feb 27, 2020 10:05 pm
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
Hmm, you want to read an .hs file? So that the REPL can call existing scripts? BTW, .hs files do not currently contain lists of declared global variables, but that's something I want to add. A Python library to read .hs (and .rpg) files already exists: https://bitbucket.org/rbv/nohrio/src/master/noh...
- Thu Feb 27, 2020 1:22 pm
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
The interpreter is looking not that far off functional! I'd like to take it further even if you're stopping here. Makes it simpler but also generates a shift/reduce conflict because + is declared left associative, so I put them back. To be honest, I've never studied or used LR parsers, though I've a...
- Thu Feb 27, 2020 3:16 am
- Forum: Game Discussion
- Topic: Ridiculous Games Contest 2020 - The 1998 one
- Replies: 71
- Views: 9754
- Wed Feb 26, 2020 11:53 pm
- Forum: Game Discussion
- Topic: Axe Cop
- Replies: 217
- Views: 42093
- Wed Feb 26, 2020 11:22 pm
- Forum: Game Discussion
- Topic: Ridiculous Games Contest 2020 - The 1998 one
- Replies: 71
- Views: 9754
Because DOS. I would guess that DOSBox's DOS implementation is to blame, crashing instead of gracefully handling an invalid filename. custom-1998-10-04-4map.zip contains a copy of CUSTOM.EXE which is 100kB too short, it doesn't run. GAME.EXE and other files seem to be fine. custom-1998-07-27.zip has...
- Tue Feb 25, 2020 10:30 am
- Forum: General Discussion
- Topic: National TMC Appreciation Day
- Replies: 20
- Views: 2440
- Tue Feb 25, 2020 4:17 am
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
Was it helpful to handle the whitespace in the parser rather than using regexes in the lexer? (We try to preserve whitespace and capitalisation in identifiers when printing error messages). It's not *actually* necessary to support whitespace in a middle of an operator token, with the exception of $ ...
- Mon Feb 24, 2020 3:11 pm
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
That's the start of something very cool! And the code is very simple. Amused to see you have a unary minus operator, which HS sadly doesn't have. (I'd really like to allow - instead of -- too, but any attempt to allow that would probably make a mess of the syntax... syntax conditional on a directive...
- Mon Feb 24, 2020 2:40 pm
- Forum: Game Discussion
- Topic: Ridiculous Games Contest 2020 - The 1998 one
- Replies: 71
- Views: 9754
I got the dos ohr sort of working, but midi2bam crashes spectacularly. So, I'm going to use the normal ohr instead, because its not ohr without some low quality FF6 midis. MIDI2BAM crashed because you tried to enter a filename longer than 8 characters! It works fine for me as long as I don't do tha...
- Sun Feb 23, 2020 4:24 am
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
Yeah, my parser is a mess (at least, I assume it is, I don't have the patience to inspect the code myself) and would be a pain to extend as features continue to be added to HS, such as array subscripting, and poetntial changes to how commas and brackets are lexed. PLY looks pretty nice! I assume tha...
- Sat Feb 22, 2020 11:38 pm
- Forum: General Discussion
- Topic: Indent tool for HSpeak
- Replies: 71
- Views: 7580
Interesting, does it read globals to find t_COMMENT, etc?
Source code for my tool is at http://tmc.castleparadox.com/format-hs.py and you can try it out here.
Source code for my tool is at http://tmc.castleparadox.com/format-hs.py and you can try it out here.