Search found 2654 matches

by rolliebollocks
Mar 01, 2016 0:42
Forum: General
Topic: Errors between versions. [SOLVED]
Replies: 6
Views: 533

Re: Errors between versions.

The answer is no. That is not the problem, just another problem. Here are the only two instances of the variable "arr" in the entire doc. Unless "with" began defining a new scope I dunno wtf. Doesn't help that it's a macro calling macros though. #macro check_assign() if inExpr.fi...
by rolliebollocks
Mar 01, 2016 0:40
Forum: General
Topic: Errors between versions. [SOLVED]
Replies: 6
Views: 533

Re: Errors between versions.

Could it be a collision with wtypes.bi and VARTYPE (which I use too). Command executed: "C:\Program Files (x86)\FreeBASIC\fbc.exe" "C:\Users\JYNX\Desktop\Infinite Monkeys 3\FBIDETEMP.bas" -exx Compiler output: C:\Users\JYNX\Desktop\Infinite Monkeys 3\jsonBASIC\jsb_parser.bas(628)...
by rolliebollocks
Feb 29, 2016 23:29
Forum: General
Topic: Errors between versions. [SOLVED]
Replies: 6
Views: 533

Errors between versions. [SOLVED]

Hi guys. A year or two ago, I compiled a project with fb .91 which worked fine. Now, upon trying to compile it with 1.05 I'm getting a phantom 'variable not declared' error. Before I hunt this #%$@ down I was wondering if anyone ran into this issue before and can shed some light which will cut my ef...
by rolliebollocks
Aug 03, 2014 7:14
Forum: General
Topic: Squares
Replies: 7357
Views: 442424

Re: Squares

@dahfi

are you using windows 8?

There have been some issues with it eating up 100% disk usage..
by rolliebollocks
Aug 03, 2014 4:37
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/18]

Hey, Thanks for your interest in the project. I will need to run a few tests to answer all your questions. I currently am just on a break of sorts because I've been going at this project and the text generator since February and there is a bit of a burn out happening so I've taken a step back. But t...
by rolliebollocks
Jul 20, 2014 20:22
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/18]

Those are good suggestions. According to my tests, if I send a blank string to the parser, which is caught by an if statement, which returns "false", it takes about 1.0 x 10^-5 ... this is without -exx or -g which I would imagine would be slower. I might be able to perform less checks in v...
by rolliebollocks
Jul 18, 2014 5:29
Forum: Projects
Topic: Infinite Monkeys 3 Text Generation Suite
Replies: 3
Views: 1148

Re: Infinite Monkeys 3 Text Generation Suite

BUMP.

I updated IM3 with JSON BASIC. Very tired. Finished documentation earlier. Link in 1st post. Check it out. Kinda fun. SAPI settings. Great at parties.
by rolliebollocks
Jul 16, 2014 18:16
Forum: Community Discussion
Topic: is there a short hand version that is not qb?
Replies: 14
Views: 1488

Re: is there a short hand version that is not qb?

Code: Select all

#define int dim as integer

int x = 12
print x
sleep


[edit]

Oh never mind.. you don't want to do this..

Try using speech to text.. That should be interesting if not effective..
by rolliebollocks
Jul 13, 2014 4:51
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/8]

There are two last known bugs: Parser is bungling this. I fixed it but I haven't updated yet: var arr = [1,2,3,4,5]; var x = fix( rnd*arr.length ); print( x ); Parser bungles this: var arr = [1,2,3,4,5]; var idx = rnd*arr.length; print( arr[ fix(idx) ] ); Basically, it can't handle expressions in ar...
by rolliebollocks
Jul 12, 2014 22:11
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/8]

There was an issue parsing nested parentheticals. I fixed it. Pastes to boards are updated and so is sourceforge.
by rolliebollocks
Jul 12, 2014 19:29
Forum: Tips and Tricks
Topic: Bubble Sort Alphabetize
Replies: 19
Views: 4080

Re: Bubble Sort Alphabetize

Stress is on the first syllable in that case too.
by rolliebollocks
Jul 10, 2014 2:29
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/8]

!! UPDATE !! As soon as the Parser runs across either a malformed or null variable it halts execution and prints out the offending line. There is now a check for var which makes sure the = is there. Since false is legitimate value for a variable, I used _NULL_ for errors. Malformed variables sometim...
by rolliebollocks
Jul 09, 2014 21:15
Forum: General
Topic: QuickBASIC compatibility issues
Replies: 6
Views: 998

Re: QuickBASIC compatibility issues

I stole this from CoderJeff's Lisp Interpreter.. I use it for basically everything.. Function LoadFileAsString( Byref filename As String ) As String Dim x As String If( Open( filename For Input Access Read As #13 ) = 0 ) Then Close #13 If( Open( filename For Binary Access Read As #13 ) = 0 ) Then x ...
by rolliebollocks
Jul 09, 2014 18:33
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/8]

@AGS

A handy little debugging tool I created:

Code: Select all

? curLine.tostring : sleep


You can basically print any token_array (which is what the lexer translates a script into) with .tostring ..
by rolliebollocks
Jul 09, 2014 18:03
Forum: Projects
Topic: json basic scripting language [update 7/18]
Replies: 40
Views: 5570

Re: json basic scripting language [update 7/8]

The semi-colon issue can easily be fixed. The parser ends up interpreting the entire sequence of commands as a single line. It would be akin to typing: var a = 88 var b = 99 var c = a + b The interpreter then tries to evaluate what it now considers to be the RHS. 88 var b = 99 var c = a + b And trie...

Go to advanced search