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
Downloadcounter224
Download
3.777 kB
Bezeichnung:JRPC3
Version:10.29
Kurzbeschreibung: ZIP-File instead of Installer
Hochgeladen:04/02/21
Downloadcounter291
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 8 -


« 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  
 




funkheld
have time one new Test made with of/ one api.
The functions wonderful.

I faith you are almost on the target.

greeting
Declare hWin&,hDlg&,hDCWin&
Declare xy&
dim xy&,16
Long xy&,0 = 30
Long xy&,4 = 30
Long xy&,8 = 100
Long xy&,12 = 100
hWin& = Create("Window", %hWnd, "Test", 10, 10, 500, 500)
Window 510, 10 - 200, 200
grafik_api(hwin&,xy&)
WaitKey
End

nProc grafik_api(Long hwin,xy)

    Long hdcWin,brush,mypen
    hDCWin=GetDC(hWin)
    brush = CreateSolidBrush($00ffff)
    FillRect(hdcwin, xy, brush)
    mypen=CreatePen(PS_SOLID, 1,$0000ff)
    SelectObject( hdcwin, MyPen )
    MoveToEx(hDCWin, 10,10, 0)
    LineTo(hDCWin, 200,200)
    DeleteObject(MyPen)

ENDPROC


17 kB
Hochgeladen:01/06/22
Downloadcounter38
Download
 
01/06/22  
 




funkheld
it functions too these graphic-star.
declare vordergrpic&
Window 20,20-800,600
Cls RGB(220,220,220)
vordergrpic& = create("hNewPic", 500,500,rgb(255,255,0))
erzeugestern(vordergrpic&)
drawpic vordergrpic&,20,20;0
WaitKey
end

nProc getCircP(long r,w)

    return long(sin(0.0174532925199433*float(w)/1000.0)*float(r))

endproc

nProc erzeugestern(long hPic)

    Long x,y,r,mypen
    long hDCBits=createCompatibleDC(hDC)
    selectObject(hDCBits, hPic)
    mypen=CreatePen(PS_SOLID, 1,$0000ff)
    SelectObject( hDCBits, MyPen )
    r=250

    whileloop 0,360000,1000

        x=getcircp(r,&loop)
        y=getcircp(r,&loop+90000)
        MoveToEx(hDCBits,250,250,0)
        LineTo(hDCBits,250+x,250+y)

    EndWhile

    deleteDC(hDCBits)

endproc


142 kB
Hochgeladen:01/06/22
Downloadcounter32
Download
 
01/06/22  
 




Jens-Arne
Reumschüssel
With the whom nProcs functions unfortunately from the already angegebenen reason not reliably.

therefore have I me The trouble made, fbProcs einzuführen. "fb" standing thereby for "FreeBasic". this is one kostenloser Basic-Compiler, the nativen code created and DLLs create can. Particulars see Help the new JRPC3-Version 6. so is one in the Result even yet plenty flexibler as with nProcs; disadvantage is, that one itself one integrally small bisschen FreeBasic take possession of must. But really utterly simply.

i wish plenty Fun at try!

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/08/22  
 




funkheld
thanks for Info.

this Freebasic know I , if it this is ? [...] 

have of 2015 yet 2 CD with own Programs for.

greeting
 
01/09/22  
 




Jens-Arne
Reumschüssel
Yes, this is it. Please yet quick JRPC V6.00i herunterladen, with the Version of yesterday watts attempts, The DLL too then to create, if it in the Profan-View source Error gives. the result in a schnöden Crash JRPC3 without Error Message, this is now fixed.

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/09/22  
 




funkheld
Thank you.
have I new loaded.

The Demos functions wonderful.

will be time a couple programs of me umsetzen.

greeting
 
01/09/22  
 




funkheld
"fbproc gehe" won't recognized.
Message : Keyword uncharted: "gehe"

greeting
Declare Test% SharedInFbProcs
 {$FBSYNTAX on}
declare dib&,array&,groesse&,hoehe&,ende&,bild&
DEF CreateDIB(2) !"dib","CreateDIB"
DEF FreeDIB(1) !"dib","FreeDIB"
DEF DrawDIB(4) !"dib","DrawDIB"
DEF CloneDIB(1) !"dib","CloneDIB"
dib&=usedll("dib.dll")
fbProc go(ByVal b As Integer, ByVal g as integer)
FOR Test% = 0 TO g-735000 step 3
poke byte,Test%+g,&hFF0000
next Test%

endproc

array&=CreateDIB(700,700)
groesse&=700*700*3
hoehe&=700
Window 20,20-750,800
Cls RGB(255,255,0)
bild&= Long(array&,40)
go(bild&,groesse&)
DrawDIB(%hdc,10,10,array&)
WaitKey
FreeDIB(dib&)
End
 
01/09/22  
 




Jens-Arne
Reumschüssel
The function is in XProfan not visible, because tappt im dunkeln not export becomes.

correctly. means so:
fbProc go(ByVal b As Integer, ByVal g As Integer) As Integer export

Also missing end one return 0.

Globale, with SharedInFbProcs gepushte XProfan-variables cannot as Laufvariablen for For uses go, because these as Pointer pictured go. Hierfür is means a Own local Variable To define.

the yields:

fbProc go(ByVal b As Integer, ByVal g As Integer) As Integer export
Dim Test As Integer
FOR Test = 0 TO (g-735000) step 3
poke byte,Test+g,&hFF0000
next Test
return 0
endproc

thereby throws the FB-Compiler though still a warning from. I can the program not testing, because by me The DLL "dib.dll" not found becomes.

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




funkheld
thanks for Help.

will be moreover try.

greeting

3 kB
Hochgeladen:01/09/22
Downloadcounter49
Download
 
01/09/22  
 




p.specht

So I soar on this display: an further Programming-Language appear me faulem beast not any more reasonable. we've: Profan-old spelling To v11.2a, XProfan on Delphi angelehnte spelling, whom eingeschränkten Inline-Assembler of X4, The XPSE-Language as well as whom fully MASM-kompatiblen jwasm-Assembler, The new JRPC3-Standards as well as DLLs The with PureBasic prepares get. JSON rechne I do not as Language, but OGL-command already. From dBase and SQLite integrally To silence, the API-Interfacing not calculated.

Seufz ... XProfan was time so beautiful simply.
 
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
01/09/22  
 




Jens-Arne
Reumschüssel
Ist's still still . Native Procs are still only for Spezialfälle there, and the FreeBasic-Syntax is to on The Variablendeklaration nothing splendid new. but the must one Yes not using, if it one not gefällt.
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/09/22  
 




funkheld
If one Jens-Arne More supported had with the xpse for the XProfan4 then would it for it plainer been a lane to find so it functions. there's here in the Forum certainly User The the xpse in the structure kennen. but one has in the Forum overcast held , Why white I do not very.

If one with Profan something achieve would like need one yet additional Help The More speed bring.
this saying : "XProfan4 has Yes now Inline-ASM" is for me no testimony.
we need one Language also readable is and this is xpse or as now Freebasic circa not only under around To dümpeln.

I faith yet is it Time the one xpse with XProfan4 to that walk bring can with the Fachleuten for Jens-Arne. he's The stabile basis for the xpse in its Schublade.
yet is it there...

i'm 73 years old and give for The hope not.

greeting
 
01/09/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

63.623 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