Mark – mx2cc just parse without compile?

About Monkey 2 Forums Monkey 2 Development Mark – mx2cc just parse without compile?

This topic contains 6 replies, has 4 voices, and was last updated by  AdamStrange 2 years, 8 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2791

    AdamStrange
    Participant

    Mark is it possible to just parse with mx2cc and go no further – no compile, etc

    The reason for this would be to use it as a true code checker without any other overhead.

    it this possible?

    #2796

    Tibit
    Participant

    I would also like to see this unless it is proves to be a massive task. I think anyone working on an IDE, code tools or other external tools would benefit – seems something useful for Ted as well.

    #2799

    Chapman7
    Participant

    In the mx2cc source (main file) under “Local builder:=New Builder( opts )” keep the builder.parse() and builder.semant() but remove translate and compile.

    Should do the trick

    #2814

    AdamStrange
    Participant

    mmm, ok. I’ll have a looksee and report back

    #2817

    AdamStrange
    Participant

    ok, checked and mx2cc changed and rebuilt:

    in function main()

    line 55=

    new lines 71,72=

    add new function:

     

    What this will do is add a compile option of checkapp to mx2cc so instead of makeup, you checkapp

    Mark. I’ll add this to the github request as well

    #2821

    MikeHart
    Participant

    I was missing this as well. Including a Code Listbox like in Ted1.

    #2822

    AdamStrange
    Participant

    a Code Listbox like in Ted1

    Could you give me more details on this, possibly a pic as well?

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.