English
SDK-aide/ Tools

JRPC new Precompiler for XProfan X4 - JRPC3

 
- Page 1 -



Jens-Arne
Reumschüssel
good evening together,

i'm recent over the trouble stumbled, that XPSE a quite large Quelldatei of I do not More process could. variables get suddenly as not definiert gemeldet and others "erratische" Problems More. I could me present, that this on it lying, that XPSE Keywords in windows-Atoms manages. there's sometime Schluss (with something between 60.000 and 70.000 Piece, where one deliberating must, that XPSE The windows-API with vorhält). Perhaps is But something integrally other, I can Yes not whom "Maschinenraum" of XPSE look.

anyway stayed me, there XPSE not any more taken care of becomes, nothing other spare, as the nachzubauen. the Result is JRPC3.

----- Features:

*reasonable Message of Fehlern
*direct display the Programmablaufes in XProfEd (sofern the under erhältliche aufgebohrte XProfEd is used)
*Umsetzung the middle-aged Profan-Syntax for Operators and old Containerfunktionen
*extreme speedy native fbPROCs, sofern one FreeBasic installs has (free, see Help)
*with fbPROCs can additionally Inline-Assembler too to XProfan X4 realized go
*extreme speedy native pbPROCs, sofern one PureBasic installs has
*Echtzeitverfolgung of Variableninhalten
*simple Zeitmessungen in the Programmablauf
*Profan-Kompilerdirektiven functions finally sensible (z.B. Verschachtelung)
*eingebettete variables functions too with Arrays
*most WIN32-API-functions are already vordefiniert included
*API-Aufrufe over @external(...) go automatically in @call(...)-Aufrufe umgesetzt
*Einrückungsanalyse to that find of vertrackten Verschachtelungsfehlern
*Klammeranalyse to that find of vertrackten Klammerfehlern
*ENUMERATE-Funktionalität
*Assert to Fehlerkontrolle
*it can arbitrary DLLs into XProfan-EXE integrate go, so tappt im dunkeln not delivered go must (see {$WrapDll})
*simple Killen Pixel JRPC3 launched Programs (interprets, .prc launched, .exe launched)
*extreme quick (and therefore naturally not XProfan written, there a interpretierte Language this natural plenty too slow is)
*at Start of JRPC3 already available .prc-Files can to that started and left used go (it'll one Info displayed, that it itself for a altes Compilations deals)
*the Profan-Compiler can to Beschleunigung with high Prozessorpriorität called go
*eingebauter Update-Checker with Download, if it one Update gives (Help --> online to Updates search)
*64- or 32-bit-Version available (simply JRPC3_64.exe or JRPC_32.exe as Interpreter in XProfEd deposit [Options --> general Settings] and JRPC3 with F7 started) - deference, The 64-bit-Version created naturally no 64-bit-XProfan-programs, there XProfan the not can, separate JRPC3 self becomes as 64-bit-Program carryed out
*XProfan X4-Syntax available (möglicherweise not yet everything, I presumably not everything of it use, but I have me circa Vollständigkeit ready - anyway are z.B. HASH-Arrays and QUADINTs thereby)
*Interpreter, PRCs and EXEs can with Kommandozeilenparametern carryed out go
*Interpreter, PRCs, EXEs and XPSE can with Administratorrechten carryed out go
*Procedures, The in the actually Program of course include are, but not uses go, go from the umgesetzten File removes, around the Filesize the Kompilats possible small To hold
*variables, The in the actually Program of course include are, but not uses go, go from the umgesetzten File removes, around the Filesize the Kompilats possible small To hold and the Speicherverbrauch To optimize
*nPROCs from XPSE go automatically with XPE to a DLL umgesetzt and the Aufrufe the nPROCs in the program properly adjusted, sofern XPSE present is
*almost everything from XPSE functions too in JRPC3 ({$NOERR}, {$(PRE)BATCH}, {$PUSHKEYWORD}, Interpreter, Runtime and compiler determine, Shorties, ...)
*XProfEd_JR with View source-AutoComplete
*XProfEd_JR with View source-Memory-function (Markierungen, To them zurückgesprungen go can)

Einschränkungen:
-no XPSE-Inline-Assembler, well but XProfan-Inline-Assembler (therein though no tests on Korrektheit the Codes)
-ABER: one can XPSE from JRPC3 out Call, so these Funktionalität furthermore available is, sofern one XPSE own (new Shorty: {$x})
-variables, The in a procedure not declared are, separate "aus the aufrufenden procedure übernommen werden", are standardmäßig not registered (XProfan allows the, but such a thing is just as mortal How GOTO-instructions). Please any To nutzenden Inputs as Parameter transfer, and if something from the aufrufenden Programmteil changed go must, when calling as Parameter z.B. @addr(x&) use and the procedure parameters x# and LONG x#,0=y& benefit.
If one but absolutely "vererbte" variables benefit would like, can this with the Kompilerdirektive {$Declare...} do.

*as Hommage on XPSE sounds The Endung the Ausgabedatei ".enh3"

an genauere explanation the individual Features is the chm-Helpfile To entnehmen, The in the program under Help --> Helpfile Show or with F1 available is.

----- /Features

Download and install:
JRPC3 can under Downloaded go (setup_jrpc3.exe or as ZIP-File).
as Installationsverzeichnis Please the XProfan-Stammverzeichnis indicate, means the one, in the The Files PROFAN.EXE, PROFCOMP.EXE, PRFRUN32.EXE etc. lying. alternatively can The ZIP-File Downloaded and its Content manually in that XProfan-Stammverzeichnis copies go.

facility:
JRPC3_64.exe or JRPC_32.exe as Interpreter in XProfEd deposit [Options --> general Settings] and JRPC3 with F7 started.

any command are with the commands "h" How "Hilfe" abrufbar and should selbsterklärend his.

for many erweitere Features, The XProfEd concern, How z.B. jenes, The row, in the one Error auftrat, directly in XProfEd Show to, is the mitinstallierte XProfEd_JR necessary. For this must one means XProfEd_JR.exe instead of XProfEd.exe as editor using. as "goody" there moreover, that at On- and Zufalten of Programs one Fortschrittsanzeiger integrate is (the can with large Programs Yes known a little bit last).

it likes his, that not yet everything perfect functions. I Please this circa clemency. my  programs can umsetzen, but the must yet long not hot, that this with Programs another Authors, The eachone so your Eigenheiten having, too functions.

Fehlermeldungen and Verbesserungsvorschläge gladly on jreumsc@web.de or here in the Forum.

best Regards, Jens-Arne

2.584 kB
Bezeichnung:JRPC3
Version:10.29
Kurzbeschreibung: JRPC3-Installer
Hochgeladen:02/15/21
Downloadcounter363
Download
1.699 kB
Bezeichnung:XProfEd_JR
Version:5.2
Kurzbeschreibung: old Version without AutoComplete to safety
Hochgeladen:02/15/21
Downloadcounter225
Download
3.777 kB
Bezeichnung:JRPC3
Version:10.29
Kurzbeschreibung: ZIP-File instead of Installer
Hochgeladen:04/02/21
Downloadcounter292
Download
 
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
02/16/21  
 



 
- Page 7 -


« this Posting watts as Solution marked. »

- Page 15 -



Jens-Arne
Reumschüssel
there's a new Version, The differently with the internen Messagehandling bypassing. Please probier The time from. Perhaps is the trouble so fixed.
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
09/24/22  
 




Jens-Arne
Reumschüssel
Yes, this is exactly the sense of JRPC3. (almost) everything, what XPSE can, can also JRPC3. each normal Program ought to itself so without Use of XPSE kompilieren and left let. Ausnahmen are Help described. moreover belong nProcs, but the go into most Make still automatically processing, without that one moreover XPSE extra and separated Call should.

JRPC3 is emerged, because XPSE not any more weiterentwickelt becomes. therefore was supreme priority, code, the already for XPSE written was, too with JRPC3 moreover useable To hold.

best Regards and ditto one good new year,
Jens-Arne
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
12/31/21  
 




funkheld
Hello , good day.
The working day has us almost again and it goes on with of/ one Normalität.

I have Please not yet begriffen How I in this demonstration The data on The nProc with JRPC3 commit.
at that XProfan3 runs it so. you had but written the itself now The Datenübergabe changed has.

can you Please once more in your Erklärungstasche look and me help?

Thank you.
greeting
cls
long lops=lineOfnumPoints(0,0,30,30,7)
print "points:",long(lops,0)

whileloop 1,long(lops,0) {

    print "ptx:",long(lops,loop*8)
    print "pty:",long(lops,loop*8+4)
    print "-"

}

globalFree(lops)
waitInput
end

nProc lineOfNumPoints(long x,y,xx,yy,cnt){

    long data

    if cnt>2 {

        float 	fcnt=float(cnt-1),\
        sx=float(xx-x)/fcnt,\
        sy=float(yy-y)/fcnt,\
        px=float(x),\
        py=float(y)
        data=dim(8+cnt*8)
        long data&,0=cnt,0,x,y
        sub cnt,2
        long offs=16

        whileLoop cnt {

            px=px+sx
            py=py+sy
            long data&,offs=long(px),long(py)
            add offs,8

        }

        long data&,offs=xx,yy
        return data

    } else if cnt<1 {

        data=dim(8)
        long data&,0=0
        return data

    } else if cnt==1 {

        data=dim(16)
        long data&,0=1,0,long(float(xx-x)*0.5),long(float(yy-y)*0.5)
        return data

    }

    data=dim(24)
    long data&,0=1,0,x,y,xx,yy
    return data

}

 
01/01/22  
 




Jens-Arne
Reumschüssel
Hello and frohes new year!

first of all once: In Your code are things drin, of them I none known, that they with XPSE weg. therefore had I JRPC3 first adjust:
-Variablendefinitionen only with LONG etc. without VAR before it weg now (but so, as variables thereby written werden; it'll no "&" appended).
- Parameterdefinitionen in clinging directly behind the Prozedurnamen How in others Programmiersprachen weg now.
- Geschweifte clinging for Codeblöcke How in C++ weg now.

therefore thanks for this example, the time again viewed has, How different we any program. And so are we then too same with version number 5.xx angelangt.

your example have I nevertheless not running get. something is there by me when calling the nProc in the DLL not Order, shining me. the example functions bislang therefore objectively only Umsetzung directly with XPSE. Perhaps using The DLL not The übliche Call-convention, separate CallC, but since be I not yet hintergestiegen.

best Regards, Jens-Arne
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/01/22  
 




funkheld
Hello thanks for your Überarbeitung and the new Version.

greeting
 
01/01/22  
 




funkheld
your Improvements functions. thanks.

have here API-Image.

with XProfan3 is the image there.
with JRPC3 becomes it to EXE compiliert . The EXE fractures to the Start with the Error Message ex.
See The two Screenkopien.

Perhaps erkennst You whom Error.

greeting
 {$NOSHORTNAMES}
Declare  x&,y&,r&
Window 20,20-600,600
Cls $ffffff
USEP 0,1,RGB(255,0,0)
grafik_api(100,100)
waitkey
End

nProc grafik_api(long r,w)

    MoveToEx(%hdc,20,20,0)
    LineTo(%hdc, r,w)
    LineTo(%hdc, 15,200)
    LineTo(%hdc, 100,200)
    Rectangle(%hdc,170,170, 300,300)
    Rectangle(%hdc,150,150, 250,250)
    Arc(%hdc,150,150,400,400,300,300,300,300)
    ellipsis(%hdc,300,300,500,400)
    ellipsis(%hdc,400,300,500,400)

    whileloop 50,430

        SetPixel(%hdc,200,&loop,$ff00ff)

    EndWhile

endproc


16 kB
Hochgeladen:01/01/22
Downloadcounter35
Download
28 kB
Hochgeladen:01/01/22
Downloadcounter35
Download
 
01/01/22  
 




Jens-Arne
Reumschüssel
Hmm, evident is the Loading and the appeal from the with XPSE erstellten DLL-functions still vastly komplizierter as a simple @external-row. there come I in momentum not further.

best Regards, Jens-Arne
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/01/22  
 




funkheld
I press both thumb that you it hinbekommst with the richgtigen integrate the XPSE-Dll
so this fehlerfrei works.

i have noticed the it with all API-function so is.
with others functions not.

Thank you.
greeting
 
01/01/22  
 




Jens-Arne
Reumschüssel
I have now a idea, as with the nProcs weg could. the requires but umfangreiche Umbauarbeiten and becomes therefore a little bit last.

Greeting, Jens-Arne
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/02/22  
 




funkheld
Hello , thanks for your large trouble.

I knows Yes not who it yet using?
Perhaps can The others something say as runs?

greeting
 
01/02/22  
 




Jens-Arne
Reumschüssel
good evening,

I faith, I have it now. nProcs should now functions. there the but quite tricky is, Please I for a bisschen testing and feedback, if there still something not hinhaut.

Vielen Thanks and best Regards, Jens-Arne
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/05/22  
 




Jens-Arne
Reumschüssel
...No, it functions not yet everything. the example with the Grafikausgabe of Funkheld namely not. Why, white I unfortunately in the momentum not.

---EDIT:

it shining so, as would it objectively you don't say so, nProcs reliably aufzurufen. AUch the Maschinencode, whom XPSE there as LongInts poked, changes itself with eachone andersartigen File. the I get naturally not übetragen, there the completely kryptisch is. Sorry, but is well nothing.
 
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/05/22  
 




funkheld
Hello, thanks for your stamina.

functions because any others things except the graphic with API ?

Thank you.
greeting
 
01/05/22  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

64.043 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie