Author Topic: OxyEdit  (Read 44309 times)

0 Members and 1 Guest are viewing this topic.

kryton9

  • Guest
Re: OxyEdit
« Reply #30 on: June 14, 2011, 03:21:37 AM »

Many thanks Aurel

I only have a limited time for testing but if you need word lists for syntax highlighting in a specific format then please let me know.

Charles

Charles, it would be neat to have word lists output in an organized way. Can you do lists for keyword, directives, constants, types, operators?

kryton9

  • Guest
Can't find the OxyEdit Download
« Reply #31 on: June 23, 2011, 10:43:54 PM »
Aurel, I did some cleaning on my computer and went back to get the latest OxyEdit and now can't find the download link. Can you post the link when you have some time. Thanks in advance.

Charles Pegge

  • Guest
Re: OxyEdit
« Reply #32 on: June 24, 2011, 02:24:40 AM »

Hi Kent,

This is a rough and ready list, generated whenever the manual is rebuilt. (tools/ManualGen/KeywordsGrouped.txt

Code: [Select]

Grouped Keyword List:



Group: def macro

#view
#endv
version
new
del


Group: o2h low level macro

terminate
freestrings
freelibs


Group: o2 intrinsic function

getmemory
freememory
loadlibrary
freelibrary
getprocaddress
copy0
copy00
copyn
copy
mbox
comparestr


Group: reserved word

db
dw
dd
dq
exit
repeat
mov
lea
add
sub
mul
div
jmp
jz
jnz
call
and
or
xor
not
shl
shr
sal
sar


Group: type attribute with 1 param

sizeof
offsetof
spanof
typeof
structureof
prototypeof
statusof
recordof
encodingof


Group: o2 major keywords

incl
#semicolon
indexers
retn
offset
skip
rem
with
dataspace
data
o2
bind
defs
def
#def
type
struct
class
var
include
#include
asm
#asm
o2h
#o2h
basic
#basic
includepath
librarypath
#file
quote
typedef
union
#case
leaf
#lookahead
#autodim
#alert
#error
#pragma
#unique
#console


Group: o2h major keywords

enum
let
operator
dim
const
local
static
global
declare
function
sub
method
end
if
then
else
elseif
endif
endsel
do
while
enddo
endwhile
wend
exit
continue
break
switch
select
case
for
to
step
next
goto
gosub
methods
return
%
$
block
scope
#indexbase
indexbase
lib
library
extern
that
this
#noprec
#noinit
#byval
#byref
readstate
writestate
deff


Group: o2 major keywords

#if
#else
#elseif
#elif
#endif
#fi
#define
#ifdef
#ifndef
undef
#undef
#undefine
alias
macro
#blockdepth
#recordof


Group: C type keywords

void
byte
ubyte
string
wstring
bstring
gstring
bstr
bstring2
char
cstring
asciiz
zstring
zstring2
asciiz
short
long
int
integer
float
single
double
extended
ext
quad
word
dword
ulong
uint
qword
any
sys
bool
cpu
fpu
mmx
xmm
signed
unsigned


Group: overoadable intrinsic functions

news
frees
error
nuls
compile
uncompile
val
ltrim
rtrim
lcase
ucase
string
space
left
mid
_mid
instr
getfile
putfile
print
asc
unic
len
chr
wchr
str
hex
guidval
guidtxt


Group: intrinsic float macro

abs
acos
asin
atan
atn
cos
deg
frac
hypot
lin
log
log2
log10
logn
mod
pi
exp
pow
rad
recip
round
sin
sqr
sqrt
tan
trunc


Group: secondary keywords

inherits
of
from
has
lib
alias
export
external
com
virtual
public
protected
private


Group: declarative

dim
type


Group: secondary keywords

once


Group: declarative

$
%


Group: control / loop

if


Group: various

then"
data
else"
data


Group: control / loop

do
while
exit
continue
wend
enddo
for
to
step
next
select
case


Group: various

case


Group: control / loop

endselect


Group: declarative

type


Group: operator

load
=
:=
+
-
*
/
\
+=
-=
*=
/=
==
!=
<>
<
>
<=
>
>=
<=
and
or
xor
and=
or=
xor="
&
|
&=
|=
&&
||
<<
>>


Group: calling conventions

stdcall
cdecl
ms64
pascal
fpu

Charles

kryton9

  • Guest
Re: OxyEdit
« Reply #33 on: June 25, 2011, 01:17:32 PM »
Thanks Aurel for the new version.

kryton9

  • Guest
Re: OxyEdit
« Reply #34 on: June 25, 2011, 02:22:53 PM »
There is one thing that happens in OxyEdit on my computer. When I open an o2bas file, OxyEdit adds strange characters at the end of the file. I got used to it and just go to the end and delete them first. I was wondering if that is happening to you guys in Europe? Could that be an unicode issue?

kryton9

  • Guest
Re: OxyEdit
« Reply #35 on: June 25, 2011, 11:06:20 PM »
I noticed in SciTe tonight too Aurel. You are right, it happens in some cases and not in others.

Peter

  • Guest
Re: OxyEdit
« Reply #36 on: June 27, 2011, 03:12:34 AM »
Aurel,

This is pure Oxygen Mathematics, good for the brain cells.  :D

Charles Pegge

  • Guest
Re: OxyEdit
« Reply #37 on: June 27, 2011, 03:58:46 AM »

Yes, I've noticed this, and also the line numbers are not reported in Asm error messages.

It is not so straight forward because source stream is read destructively with chunks of code being expanded then inserted back into the source stream.

Charles

Charles Pegge

  • Guest
Re: OxyEdit
« Reply #38 on: June 27, 2011, 06:55:07 PM »

I traced this problem to the compilers which prefix a few lines of code to the source, displacing the line count. So I rebuilt them. You may still see the compiler one line ahead before the error is reported since it has to look ahead sometimes before determining there is an error.

Line numbers are also reinserted for the assembler pass.

Charles

Charles Pegge

  • Guest
Re: OxyEdit
« Reply #39 on: June 29, 2011, 03:50:57 AM »

Hi Aurel its these macros in ide/oxygen.properties:

Code: [Select]

# BUILD
basbo="$(SciteDefaultHome)\gxo2" " -a -c -m $(FilePath)"

command.build.*.bas=$(basbo)
command.build.*.o2bas=$(basbo)


There is a problem with the Asm listing at present. It is incomplete. Something to do with the new compilers which I need to fix.

But they produce working EXE files. It is just the listing.

Charles

kryton9

  • Guest
Re: OxyEdit
« Reply #40 on: March 29, 2012, 09:49:08 PM »
I am still getting strange characters at the end of a file Aurel when I open an example.
But am glad you are updating your nice editor.

Charles Pegge

  • Guest
Re: OxyEdit
« Reply #41 on: March 31, 2012, 08:39:59 AM »

Thanks Aurel.

I will take a look soon.

Peter

  • Guest
Re: OxyEdit
« Reply #42 on: April 03, 2012, 11:28:24 AM »
Hi Aurel,

You can see, which version you have. Just look at the date.
The latest version is dated 18.o3.2012

Peter

  • Guest
Re: OxyEdit
« Reply #43 on: April 03, 2012, 02:59:19 PM »
Hi Aurel,

It seems that is a DLL chaos here. I think that older DLL's should be deleted.
If you run your application with an older Dll, and someone has a newer Dll, what then?

There will be a chaos.

LARGE_INTEGER must be QUAD!
Code: [Select]
Declare Function QueryPerformanceCounter Lib "kernel32.dll" (ByRef lpPerformanceCount As QUAD) As Long
Declare Function QueryPerformanceFrequency Lib "kernel32.dll" (ByRef lpFrequency As QUAD) As Long

Charles Pegge

  • Guest
Re: OxyEdit
« Reply #44 on: April 03, 2012, 04:03:49 PM »
Hi Aurel

print hex version

this will display the version number: A038 A039 etc.

Charles


PS: if you prefer:

typedef quad LARGE_INTEGER