Hello akyprian,

HLA Home: http://webster.cs.ucr.edu/Page_hla/0_Page_hla.html

HLA simple console program.


[color=blue]program[/color] ProgName;
<declaration section>
[color=red] #include[/color]("stdlib.hhf")
[color=grey] //One line comments[/color]
[color=blue]begin[/color] ProgName;
<code section>
stdout.put("This is HLA simple program");
[color=grey] /*Multiline comments
go here */[/color]
[color=blue]end[/color] ProgName;


1)How do you assemble,link etc?
HLA source file exstension: .hla
HLA executable: hla.exe
HLA uses MASM internally (MASM is default, HLA is also capable to produce TASM,FASM and GAS output).
hla.exe acts as a "shell" for hlaparse.exe (HLA compiler that compiles HLA source to assembly(.asm)), ml.exe,link.exe

Assembling aforementioned program (assuming it was saved as HLAprog.hla) with following line:
hla HLAprog
(default is console; switch -w means assemble for Windows; -v = verbouse);

2)How do you call functions (something like Invoke for example?)
3)Procedure declarations



procedure ProcName;
<declaration section>
begin ProcName;

<code section>
exit ProcName; //Unconditional prematurely returning from procedure
exitif(<boolean expression>); //Conditional prematurely returning from procedure
end ProcName;

procedure ProcName(param:dword; param2:char) ;
begin ProcName;
end ProcName;

call ProcName;
//or
ProcName();
ProcName(Val1,Val2);


4)Structures format

HLA uses term "record" for structure.



type //type section (can appear in HLA program declaration section zero OR multiple times)
point : record
x: int32;
y: int32;
z: int32;
endrecord;

static //static section (can appear in HLA program declaration section zero OR multiple times)
Vector : point; //declare uninitialized variable of point type


PS: Maybe it makes sense to move this project to HLA section to much more people can also contribute.

Best regards, GJ
Posted on 2003-05-27 15:17:58 by Green Joe
Thanks Green Joe for your effort and time.

When I consider it is the best time to implement HLA support in Visual ASM I will do.

Regards,

akyprian
Posted on 2003-05-28 01:09:33 by akyprian
Hi, akyprian,

Nice ide! Will be next with KetilO's RadAsm.
Just played with your VA and found a bug :)

Change Editor Font to Curier New Cyrillyc, than save and reopen project: the font will be restored in Greek layout! :) I like Greek font, but sometimes I want to see my native letters :)

Anyway, thanks!
Posted on 2003-05-28 23:11:35 by Dmitry
Dmitry,

Thanks for your good words. Please mention Visual ASM version and path and your OS.

Regards,

akyprian

PS. will be next to what?
Posted on 2003-05-28 23:58:30 by akyprian

[...] Please mention Visual ASM version and path and your OS.


last (i hope) 1.0.0.8, d:\masm32\visualasm\, Win2000

PS. will be next to what?

:) He-he :) Something wrong in my English :) - Next useful IDE on my HDD (Wow, I am almost poet :)

(double edited: I hate proxy!)
Posted on 2003-05-29 01:54:06 by Dmitry
Dmitry,

Thanks for the info. Bug is now solved.

Regards,

akyprian
Posted on 2003-05-29 08:28:38 by akyprian
akyprian,

Thanks for the new V1.0.0.8 :alright:
For the next release,Could it be possible to let the user to change the font of pop-up windows?
Posted on 2003-05-29 09:09:11 by Vortex
Vortex,

It is a matter of seconds. If you think it will add something important and not just more bytes I will do.

Thanks Vortex
Posted on 2003-05-29 09:21:49 by akyprian
Hello akyprian.

It is preferable,when open an existing project to appear only the code windows
that the programmer leave open when exit the project and in the same size.

Manos.
Posted on 2003-06-02 09:31:11 by Anonymous
manos,

your suggestions point me to the right direction,

Thanks a lot,

akyprian
Posted on 2003-06-02 12:45:24 by akyprian
is there gonna be more visual asm versions release ?
also, a toggle project explorer button on the toolbar will be great
Posted on 2003-06-06 13:28:38 by maCo
Hi maCo,

Yes there will be more public releases and the next one will be really soon!

The button for the project explorer on the toolbar is a very good idea.

Regards,

akyprian
Posted on 2003-06-07 00:25:41 by akyprian