This month I ran claude.ai through another test to see if it could create a solid Scintinilla wrapper. I am pretty happy with it and already started using it in one of my projects.
Scintinilla has a massive API, so we divided it up into its logical categories with various classes.
I have also baked in some extra classes like a basic intellisense feature that is easy to use, and an object browser that automatically loads from it.
If you need more complex intellisense you can just hook into the events directly and roll your own. If you load intellisense system from files, you can include comments automatically for obj Browser and not have to provide an extra tool tip file.
Has support for folding, whitespace display, EOL conversions, line numbers, breakpoints, debugger line highlighting and several language highlighters compiled in. It also internally manages breakpoints and margin clicks.
Ive tried to bake in everything i needed over the years so it takes as little host code as possible. Ocx is 500k and the SciLexer.dll I am using is 1mb
Check out the ./test/ project for a demo or open the project group to start exploring it live.
I was wondering how good Claude is in making professional ActiveX controls directly in C++ which will allow embedding scintilla library in final binary.
I added a new debugger example for js4vb using the new sci4vb. I also had to update the sci4vb, I forgot to raiseevent keypressed so the F7 etc would work.
edit: updated to use the new sci4vb internal breakpoint management and executing line highlighting
one of my goals is that you shouldnt have to know any of scintinillas internal guts to use sci4vb.
early versions of scivb2, i actually had to subclass it on my host forms to hook into margin clicks for breakpoint management etc or sending it raw scintinilla messages to do stuff that wasnt in the ocx yet. I think I have all of that bundled in now.
scriptControl.(vbscript)Cannot support Chinese variable name, Chinese function name
Code:
var scriptControl = new ScriptControl { Language = "VBScript" };
// VBS code: including Chinese function name and variable
string vbsCode = @"
Function unicodeSUN(UNICODE1,UNICODEARG2)
End Function
scriptControl.ExecuteStatement(vbsCode);
fram
You successfully implemented a JavaScript parser engine with VB6
Is it possible to implement a VB6, VBS code parser with VB6 code
The freebasic programming language, which may support very simple. VBS code parsing, but it definitely doesn't support Chinese or other Unicode characters, function names, variable names
Gamabasic, perhaps the largest VB scripting tool in Linux,
Develop a cross-platform VB script engine with twinbasic later
I don't know if your current code supports Unicode string function names and Chinese variable names.
Foreigners use VB6 code to directly implement a JavaScript parsing engine, which also supports code debugging, and becomes a small IDE, just like WPS JSA. Maybe quickjs, it can also achieve this function, but compile it into a simple quickjs. DLL, do not know how to let it achieve each line of code debugging separately? For example, get the names of all global variables and monitor the changes of variable values.Which function is currently running? Lists all the variables in the function. Then how do you add support for interface functions that control host exposure? Host and script code, interoperability, how to make it support Chinese function names, variable names? How to change the semicolon of each line to a colon? Maybe there's a way to make it work without a semicolon? How to make it call windows API functions? A com object, such as a Damo. DLL, adodb. Recordset, excel. Application object?