Search found 14 matches

by dustinian
Aug 01, 2015 3:30
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

Updated the top post to reflect V2.7.

TTL is now 25% faster, and I added quite a few new commands. You can see TTL here: https://github.com/dustinian/ttl
by dustinian
Jun 17, 2015 2:38
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

I've updated the first post to reflect the recent update to 2.3. I've eliminated every issue that I know about, and I added a "Replace Once" command to allow for those scenarios where you don't need a recursive replace. If you look at GitHub, you'll see I had a devil of a time messing arou...
by dustinian
Mar 16, 2015 19:06
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

Yesss ... very easily at that: just add the code (in your .bas file) below the declarations in the .bi file. That's it ... Well, that's... embarrassing! Thank you, MrSwiss! I feel like I tried that in the past, and it didn't work. Perhaps a remnant of -lang QB? Or perhaps a figment of my imaginatio...
by dustinian
Mar 14, 2015 3:28
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

I just updated to version 2.2 of TTL . I added: ⋅ Token support ⋅ Compiled in -lang FB I have what I think is a really, really basic question: ⋅ If you look at the source code, you'll see that I declare my subs/functions in .bi files, but I have the code for these subs/...
by dustinian
Jul 28, 2013 7:24
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

I just released V2.0 of TTL , which includes the following changes: ⋅ Input validation to prevent infinite "Replace" commands where the "Find" sub-string appears in the "Replace" sub-string. ⋅ Command-line arguments now ready in the "C" sty...
by dustinian
Jul 14, 2013 10:21
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

1) I noticed that this isn't working: example.ttl REPLACE "before" with "before_" in.txt before After running: ttl example.ttl in.txt out.txt Output: LOADING FILE>>> PARSING FILE>> EXECUTING SCRIPT>>> Windows error message After compiling as follows: fbc -exx -s console "tt...
by dustinian
Jul 14, 2013 2:28
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

Rens, After spending some time on this, I've discovered the issue: a few careless mistakes on my part. I'd made a few tweaks to the source code here and there over the last few weeks... and the tweaks always compiled, so I assumed all was well without testing. I didn't notice the breaks, because I'v...
by dustinian
Jul 11, 2013 10:30
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Re: Text Transformation Language

Rens, First of all, thank you for downloading, puzzling through my documentation, and giving TTL a shot! I'm pumped to get a reply here. Secondly, let me confirm that none of what you described is expected behavior. Definitely defects. I don't have time to start debugging until tonight, but here's m...
by dustinian
May 21, 2013 1:11
Forum: Projects
Topic: Text Transformation Language
Replies: 13
Views: 3501

Text Transformation Language

Summary ⋅ Purpose: Text Transformation Language is a scripting language that uses interpreted commands to transform text files. ⋅ Author: Dustinian Camburides ⋅ Revision: 2.7 ⋅ Updated: 7/24/2015 Details / Instructions ⋅  https://github.com/dustinia...
by dustinian
Apr 19, 2013 1:51
Forum: Beginners
Topic: Upconverting project from QB64, having issues...
Replies: 4
Views: 487

Re: Upconverting project from QB64, having issues...

HOT DOG! It compiled, and it works! Up-convert complete! If anyone wants to play with it: https://skydrive.live.com/redir?resid=217010F7EE2FFB1A!193&authkey=!ADqFwake1RCub58 I added a sample script and a sample input file to the .ZIP file. Just compile the code, then run the .EXE with the follow...
by dustinian
Apr 17, 2013 19:47
Forum: Beginners
Topic: Upconverting project from QB64, having issues...
Replies: 4
Views: 487

Re: Upconverting project from QB64, having issues...

counting_pine, thank you very much! That's extremely helpful. In QB64, there's no true "module" or "class" concept. A $Include meta-command just adds the code from your "module" to the main file before compilation. So I wasn't 100% clear on ".BI" files in Free...
by dustinian
Apr 17, 2013 16:54
Forum: Beginners
Topic: Upconverting project from QB64, having issues...
Replies: 4
Views: 487

Upconverting project from QB64, having issues...

I've built a scripting language to help me transform text files, but I built it in QB64.I'm upconverting to FreeBASIC, and I'm running into compiler errors I don't understand. ⋅  https://skydrive.live.com/redir?resid=217010F7EE2FFB1A!192&authkey=!AANoAUgj0uX9i8I I have a version that c...
by dustinian
Nov 12, 2005 21:09
Forum: Beginners
Topic: List of statements
Replies: 4
Views: 1142

Thank you!

Ah, thank you. I should have seen that. I looked right over it.

With that documentation, I shouldn't need to ask help ever again...man, it's comprehensive.
by dustinian
Nov 12, 2005 5:03
Forum: Beginners
Topic: List of statements
Replies: 4
Views: 1142

List of statements

I'm trying to learn FB in addition to QB. Is there a list of all of the statements in FB like the help index in QB? I looked around for one, but I didn't spot it.

Go to advanced search