Search:

Type: Posts; User: SearchingDataOnly

Page 1 of 13 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    No, I'm not just developing a scripting tool, it's going to be a code-debugger for the cloned-VB6IDE, and it's also a VM that can run VB6 code.
  2. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Very good suggestion, I'll try this method and test its performance and the memory it occupies. Thank you, 2kaud.
  3. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Now, my CodeGen and Transpiler can convert TS/JS/VB.Net code to VB6. It's also possible to do the opposite, but this will need to be considered in the future when I have time. That said, I'd prefer...
  4. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Very interesting suggestion, Thank you xiaoyao. I'm going to use VBS/JScript as a test reference for my VM.
  5. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Very reasonable. Using VMs in third-party languages is really not a good idea. Your point of view has saved me a lot of detours. Thank you, dz32.
  6. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Reasonable. Using WASM as the interpretation engine for my scripting language is the ultimate goal. For now, I'm going to follow wqweto's suggestion to develop a VM dedicated to my scripting...
  7. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Excellent learning materials. Thank you so much, 2kaud.
  8. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Excellent advice, thank you very much, wqweto.
  9. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    @wqweto,

    Apart from Niya's PrattParser-Demo, the only meterial I can find about bytecode-emitter and VM that is suitable for me (a pure VB6er) learning so far seems to be the source code of...
  10. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    I see. Then I'm going to take the solution of "controlling both the bytecode emitter and the specific VM". Being able to have more freedom of control is one of the most important reasons for me to...
  11. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Very valuable advice and perspectives, thank you very much wqweto.

    Again, I'd like to confirm that your point is:
    Is it better to develop a pure scripting language interpreter (or compiler) like...
  12. Replies
    30
    Views
    2,109

    Re: Convert VB6-AST to ByteCodes

    Hi Niya, your reply is very helpful to me, much appreciated.

    Yes, I've studied your PrattParser demo, it's very enlightening, it's the only VB6 learning material I can find about VM. It was...
  13. Replies
    30
    Views
    2,109

    Convert VB6-AST to ByteCodes

    After writing over 50,000 lines of Lexer/Parser/CodeGen/Transpiler by hand, I was finally able to get the full AST from arbitrarily complex VB6 source code. Now I'm going to move on to the next step:...
  14. Re: Check and remove invalid tags in HTML

    Thank you, techgnome.

    Here's the situation: I use an HTML parser, svelte, to parse my HTML. However, when there are invalid tags in the HTML, the return value of svelte is empty, which means that...
  15. Check and remove invalid tags in HTML

    There is such a type of tag in HTML that automatically closes when it hits a block-level element.

    For example, <p> will automatically close when encountered <pre>, and </p> will become an invalid...
  16. Re: Who has the twinbasic,radbasic,everything software,the author detailed introducti

    A well-designed VB7-IDE can greatly reduce the sense of difference between VB6 and VB7.
  17. Need wqweto's help (about VbPeg)

    I want to clone a CodeDebugger of VB6-IDE . The current preliminary plan is as follows:

    (1) Write a Parser/Interpreter to parse vb6-code
    (2) Generate AST for vb6-code
    (3) Generate one or more...
  18. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Very useful information, thank you very much, 2kaud.




    Generating the correct AST is not too difficult for me to do. I did a lot of AST-related work 4 years ago, mainly generating JS-ASTs....
  19. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    aardio seems pretty good, but I don't know what technology it uses or how to learn and borrow something from it that worked for me.



    Yes, there are a lot of secrets in VbsEdit that I want to...
  20. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    I think that's the answer I've been waiting for. Thank you so much, dz32.

    I'll try to translate duktape's C code to VB6. I know it's not an easy task, but at least I can start my work.
  21. Re: Who has the twinbasic,radbasic,everything software,the author detailed introducti

    Microsoft's .NET development team didn't understand the spirit and essence of VB6, nor did it understand the programming habits of VB6ers.

    If I were the VB.NET decision-maker on Microsoft's .NET...
  22. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    The author of twinBasic is working full-time on twinBasic. In addition, twinBasic is not simply imitating or cloning VB6, it should be a superset of VB6. While 100% VB6 compatible, it offers a large...
  23. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    (1) First goal:
    I want my scripting language to be able to debug and run in a Visual-IDE like VB6, which is the most basic goal and must be achieved.

    That means I need to implement a...
  24. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    It has to be said that the installation of twinBasic is extremely convenient.
  25. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Perhaps you should persuade the authors of VFB to clone a VB6-IDE with FreeBasic, I believe this clone of VB6-IDE will be 10-100 times more popular than VFB.
  26. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Thank you very much, Episcopal.
  27. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Very useful information, thank you very much, The trick.

    I seem to remember someone recommending Visia-Compiler to me before, I collected it, and then quickly forgot about it. My memory is just...
  28. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Yes, that's the project I'm working on right now.



    After my Code-Debugger is finished, I'll build my own website and publish it.

    My tool-chain(CodeHelper and Script-IDE) is a free software...
  29. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Yes, my current solution is to develop a debugger for my script-interpreter. My current knowledge and physical condition are not enough to complete a native debugger, which is why I chose to develop...
  30. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    OK. After I studied your VbPeg in depth, I found that your VbPeg is amazing. When I saw that PEG.js could use native JS, I thought, maybe your VbPeg could add support for VBScript and JavaScript.
  31. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    At the moment, we are very optimistic about twinBasic. It's expected that next year twinBasic will have a version that can be released for production environment.




    Yes, I started with small...
  32. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Very good information, very good advice, thank you, Joe Caverly.

    Yes, writing a transpiler is a good direction. I've written 2 transpilers, but now I not only need to translate VB6 code into other...
  33. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Yes, precisely because I want to finish in a few months what would take years to complete, my brain is in a mess right now and I don't know where to start. I browsed hundreds of web pages, but all I...
  34. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    Yes, I know it's not an easy task, but so far the twinBasic process has been very successful and it has exceeded all expectations. I'm trying to develop a compiler for a scripting language that is...
  35. Replies
    64
    Views
    6,693

    Re: Write a VB6-Compiler in VB6

    You guessed it, I'm writing my Parser in JS. But since I finished my FormDesigner last month, I've had a cold, and since August 1st, I've been in such poor shape that I can't seem to concentrate on...
  36. Re: Who has the twinbasic,radbasic,everything software,the author detailed introducti

    Hi xiaoyao,

    I wanted to learn about the latest VisualFreeBasic, but my browser prompted that the files downloaded from its official website contained malware, and then the files were deleted by...
  37. Replies
    64
    Views
    6,693

    Write a VB6-Compiler in VB6

    Most programming languages, after maturity and stability, tend to use the language itself to develop their own compilers to compile the language code, which we call self-hosting-compiler or...
  38. Re: [VB6/Win7+] Using the Windows UI Ribbon Framework

    I personally don't like ribbons, but since some people do, I'll make it one of the options for users to choose. My favorite is the classic vb6 style, followed by vscode style.

    In order not to let...
  39. Re: [VB6/Win7+] Using the Windows UI Ribbon Framework

    Yes, ribbon-style is just one of the three options. The default UI style will be VSCode-like. The classic style is for you, the ribbon-style is for xiaoyao. :D
  40. Re: [VB6/Win7+] Using the Windows UI Ribbon Framework

    Good job. Maybe one day my scripting language IDE will be able to use your Ribbon-UI.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width