Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iteration19 #631

Merged
merged 110 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
914de15
starting a new iteration - 19
arakov Oct 19, 2023
68b653f
[FIXED]do not box the target for direct extension call
arakov Oct 20, 2023
7160635
[FIXED]resolving an extension without parameters
arakov Oct 20, 2023
75b88d6
working on #604
arakov Oct 20, 2023
63906d1
house keeping : rolling back changes for tracing the error
arakov Oct 20, 2023
1b2e962
[FIXED]#604 - using byref handler for extensions
arakov Oct 21, 2023
71b74ea
[ADDED]optimization : looking ahead for operand expressions if byref …
arakov Oct 21, 2023
5dc12c5
[IDE][FIXED]debugger : step inside a nested class / closure
arakov Oct 21, 2023
c9a26a9
[FIXED]#624 - GC routine
arakov Oct 22, 2023
e13f112
[ADDED]inplace default / conversion constructors
arakov Oct 24, 2023
36e5ca4
[DELETED]get rid of embeddable method attribute
arakov Oct 24, 2023
4a3bdd0
[ADDED]opcodes : xsave n, xsave offs, n
arakov Oct 24, 2023
634bbe3
simplify constant assigning
arakov Oct 25, 2023
65e944f
[ADDED]inplace call of the conversion constructor
arakov Oct 25, 2023
34c3056
[FIXED]ecv formatting: insert spaces into the first space; fix displa…
arakov Oct 26, 2023
175d797
[ADDED]pointer h := UnsafePointer.Empty; - embeddable constructor call
arakov Oct 27, 2023
9817ec1
[ADDED]#629 : Post increment/decrement operators
arakov Oct 28, 2023
74309f9
refactoring script grammar
arakov Oct 28, 2023
b2ef499
refactoring script support
arakov Oct 29, 2023
23eaba7
refactoring scripts
arakov Oct 29, 2023
4de78c0
refactoring lscript
arakov Oct 29, 2023
623c3a0
[FIXED]script engine : bookmark resolving
arakov Oct 30, 2023
ac1ff2a
working on the script routines
arakov Oct 31, 2023
8830cb7
tracing
arakov Oct 31, 2023
7ee0cf2
[FIXED]in-place constructors
arakov Nov 2, 2023
4fce535
working on default support
arakov Nov 2, 2023
5f58ae4
working on in-place constructor call
arakov Nov 4, 2023
bc8f3d8
refactoring compiler code
arakov Nov 5, 2023
6fccfa4
[FIXED]built-in variable default
arakov Nov 5, 2023
f466047
[FIXED]#630 - Nil reference cannot be assigned to struct
arakov Nov 5, 2023
684fdbb
fixing code
arakov Nov 5, 2023
1e3e734
house keeping
arakov Nov 5, 2023
f549d46
working on script samples
arakov Nov 5, 2023
c03bc58
working on script samples
arakov Nov 7, 2023
14ed811
working on script samples
arakov Nov 8, 2023
4b088e9
[FIXED]bytecode optimization
arakov Nov 9, 2023
08ad647
[FIXED]#132 anagram sample
arakov Nov 9, 2023
ab75120
[FIXED]#132 - anagram sample
arakov Nov 10, 2023
536ee72
working on gui samples
arakov Nov 14, 2023
561d215
[ADDED]gui controls
arakov Nov 14, 2023
0841db5
[FIXED]#623 - Overriding property set accessor
arakov Nov 15, 2023
0e8841d
[ADDED]#629 - Read-only fields
arakov Nov 17, 2023
29fc710
[FIXED]"this self" for an extension
arakov Nov 20, 2023
a884677
fixing Linux build
arakov Nov 20, 2023
bee9113
fixing build
arakov Nov 20, 2023
9215305
fixing build
arakov Nov 20, 2023
b843118
refactoring grammar
arakov Nov 29, 2023
de1c6f4
[FIXED]#508 - working on multi-value assigning
arakov Nov 29, 2023
9f756e3
[ADDED]meta command #load, #clear
arakov Nov 30, 2023
8c5dd67
fixing warnings for the standard library
arakov Dec 1, 2023
72538b2
fixing build warnings
arakov Dec 5, 2023
e91d87b
[FIXED]syntax for multi value method
arakov Dec 11, 2023
9502596
fixing matrix sample
arakov Dec 11, 2023
8a2fc76
fixing samples
arakov Dec 11, 2023
16fa5ca
refactoring rosetta code samples
arakov Dec 14, 2023
6a64bfd
refactoring code to support nullable types
arakov Jan 3, 2024
48914ba
#56 : working on nullable support
arakov Jan 15, 2024
72d48ae
#562 : supporting nullable example
arakov Jan 24, 2024
6cbae05
#562 - implementing nullable return type
arakov Jan 24, 2024
5dfe23d
refactoring code
arakov Jan 28, 2024
6b3518e
refactoring tutorials
arakov Jan 31, 2024
53ae4e8
supporting message name class attributes
arakov Feb 5, 2024
e7727ff
supporting message class constants
arakov Feb 5, 2024
d02c189
working on json support
arakov Feb 6, 2024
f7ecded
fixing build
arakov Feb 7, 2024
9163136
fixing build
arakov Feb 7, 2024
e1817f0
fixing build
arakov Feb 7, 2024
2f2011c
fixing build
arakov Feb 7, 2024
e74aa26
fixing build
arakov Feb 7, 2024
0396785
fixing build
arakov Feb 7, 2024
63bb4bd
fixing build
arakov Feb 7, 2024
fc8bdc8
fixing build
arakov Feb 7, 2024
72ad77b
fixing build
arakov Feb 7, 2024
cd624a9
fixing build
arakov Feb 7, 2024
ebb7b0c
fixing build
arakov Feb 7, 2024
ed15723
fixing build
arakov Feb 7, 2024
c71f78d
fixing build
arakov Feb 7, 2024
6c65a0c
FIXING build
arakov Feb 7, 2024
df7552a
fixing build
arakov Feb 7, 2024
0aa603f
fixing build
arakov Feb 7, 2024
653b92c
fixing build
arakov Feb 7, 2024
87920a5
fixing bugs
arakov Feb 9, 2024
6f0a35b
fixing build
arakov Feb 9, 2024
a41387b
fixing build
arakov Feb 9, 2024
e4cd09a
fixing build
arakov Feb 9, 2024
0de0d2d
fixing opcode
arakov Feb 9, 2024
3e49819
fixing opcode
arakov Feb 9, 2024
761c06e
tracing
arakov Feb 9, 2024
27deb9a
tracing
arakov Feb 9, 2024
1bf0402
tracing
arakov Feb 9, 2024
083175d
tracing
arakov Feb 9, 2024
b69072e
tracing
arakov Feb 9, 2024
649fb64
tracing
arakov Feb 9, 2024
76d7f10
tracing
arakov Feb 9, 2024
fab8482
tracing
arakov Feb 9, 2024
8bbc514
tracing
arakov Feb 9, 2024
199824a
fixing opcode
arakov Feb 9, 2024
72a5236
tracing
arakov Feb 9, 2024
89489c9
tracing
arakov Feb 9, 2024
85e93a0
tracing
arakov Feb 9, 2024
3e89eca
tracing
arakov Feb 9, 2024
947f06e
tracing
arakov Feb 9, 2024
23d65b1
fixing opcodes
arakov Feb 9, 2024
dff0a18
tracing
arakov Feb 9, 2024
d93932d
fixing build
arakov Feb 9, 2024
d08781f
fixing opcode
arakov Feb 9, 2024
b83fdd9
removing housekeeping code
arakov Feb 9, 2024
f81b0ba
fixing missing file
arakov Feb 9, 2024
75a783f
HOUSE keeping
arakov Feb 9, 2024
80016ab
housekeeping
arakov Feb 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Reach out with any questions you may have and we'll make sure to answer them as
## Resources
- **Nightly builds:** <https://ci.appveyor.com/project/arakov/elena-lang/build/artifacts>
- **ELENA Documentation** <https://github.com/ELENA-LANG/elena-lang/wiki/ELENA-Programming-Manual>
- **ELENA API 5.0** <https://elena-lang.github.io/api/index.html>
- **ELENA API 6.0** <https://elena-lang.github.io/api/index.html>
- **Git clone URL:** <git://github.com/ELENA-LANG/elena-lang.git>
- **Tutorials:** <https://github.com/ELENA-LANG/tutorials>
- **ELENA reddit:** <https://www.reddit.com/r/elena_lang/>
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.6
6.0.7
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 6.0.6.{build}
version: 6.0.7.{build}
branches:
only:
- master
Expand All @@ -18,7 +18,7 @@ build:

artifacts:
# archive the generated packages in the ci.appveyor.com build report
- path: install\output\*.zip
- path: install\output%PLATFORM%\*.zip
name: nightly-build

deploy:
Expand Down
82 changes: 82 additions & 0 deletions asm/aarch64/core60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,34 @@ inline %76h

end

// ; xsaven
inline %77h

mov x18, __n16_1
str w18, [x10]

end

// ; xsave n
inline %0977h

movz x18, __n16lo_1
movk x18, __n16hi_1, lsl #16

str w18, [x10]

end

// ; xsave n
inline %0A77h

movz x18, __n16lo_1
movk x18, __n16hi_1, lsl #16

str w18, [x10]

end

// ; fabsdp
inline %78h

Expand Down Expand Up @@ -2526,6 +2554,26 @@ inline %0D4h

end

// ; xsavedispn
inline %0D5h

add x19, x10, __arg12_1
mov x18, __n16_2
sxth x18, x18
str w18, [x19]

end

// ; xsavedispn (n > 0FFFFh)
inline %01D5h

add x19, x10, __arg12_1
movz x18, __n16_2
movk x18, __n16hi_2, lsl #16
str w18, [x19]

end

// ; xhookdpr
inline %0D6h

Expand Down Expand Up @@ -3533,6 +3581,40 @@ inline %7F1h

end

// ; xstoresir :n, -1
inline %8F1h

movz x11, __n16lo_1
movk x11, __n16hi_1, lsl #16
sxtw x11, w11

add x12, sp, __arg12_1
str x11, [x12]

end

// ; xstoresir :0, -1
inline %9F1h

movz x11, __n16lo_1
movk x11, __n16hi_1, lsl #16
sxtw x11, w11

mov x0, x11

end

// ; xstoresir :1, -1
inline %0AF1h

movz x11, __n16lo_1
movk x11, __n16hi_1, lsl #16
sxtw x11, w11

mov x1, x11

end

// ; extopenin
inline %0F2h

Expand Down
24 changes: 24 additions & 0 deletions asm/amd64/core60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,22 @@ inline %476h

end

// ; xsaven
inline %077h

mov eax, __n_1
mov dword ptr [rbx], eax

end

// ; xsaven
inline %177h

xor eax, eax
mov dword ptr [rbx], eax

end

// ; fabsdp
inline %078h

Expand Down Expand Up @@ -2192,6 +2208,14 @@ inline %0D4h

end

// ; xsavedispn
inline %0D5h

mov eax, __n_2
mov dword ptr [rbx+__arg32_1], eax

end

// ; xlabeldpr
inline %0D6h

Expand Down
10 changes: 5 additions & 5 deletions asm/amd64/core60_lnx.asm
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ define PREPARE 10006h

define SYSTEM_ENV 20002h
define CORE_GC_TABLE 20003h
define CORE_THREAD_TABLE 2000Bh
define CORE_ET_TABLE 2000Bh
define CORE_SINGLE_CONTENT 2000Bh

// ; --- GC TABLE OFFSETS ---
define gc_header 0000h
Expand All @@ -22,6 +21,7 @@ define gc_mg_wbar 0050h

define et_current 0008h
define tt_stack_frame 0010h
define tt_stack_root 0028h

// ; --- Object header fields ---
define elSizeOffset 0004h
Expand Down Expand Up @@ -79,7 +79,7 @@ procedure % VEH_HANDLER

mov r10, rdx
mov rdx, rax // ; set exception code
mov rax, [data : % CORE_ET_TABLE]
mov rax, [data : % CORE_SINGLE_CONTENT]
jmp rax

end
Expand All @@ -106,7 +106,7 @@ labYGCollect:
push rbp

// ; lock frame
mov [data : %CORE_THREAD_TABLE + tt_stack_frame], rsp
mov [data : %CORE_SINGLE_CONTENT + tt_stack_frame], rsp

push rcx

Expand All @@ -126,7 +126,7 @@ labYGCollect:
push rcx

// ; collect frames
mov rax, [data : %CORE_THREAD_TABLE + tt_stack_frame]
mov rax, [data : %CORE_SINGLE_CONTENT + tt_stack_frame]
mov rcx, rax

labYGNextFrame:
Expand Down
99 changes: 96 additions & 3 deletions asm/ppc64le/core60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,35 @@ inline %76h

end

// ; xsaven
inline %77h

li r18, __n16_1
stw r18, 0(r15)

end

// ; xsaven
inline %977h

lis r18, __n16hi_1
li r19, __n16lo_1
andi. r19, r19, 0FFFFh
add r18, r18, r19
stw r18, 0(r15)

end

// ; xsaven
inline %0A77h

li r18, __n16lo_1
andi. r18, r18, 0FFFFh
addis r18, r18, __n16hi_1
stw r18, 0(r15)

end

// ; fabsdp
inline %078h

Expand Down Expand Up @@ -2340,6 +2369,27 @@ inline %0D4h

end

// ; xsavedispn
inline %0D5h

addi r19, r15, __arg16_1
li r17, __n16_2
stw r17, 0(r19)

end

// ; xsavedispn
inline %1D5h

addi r19, r15, __arg16_1

li r17, __n16lo_1
andi. r17, r17, 0FFFFh
addis r17, r17, __n16hi_1
stw r17, 0(r19)

end

// ; xlabeldpr
inline %0D6h

Expand Down Expand Up @@ -3325,7 +3375,7 @@ inline %1F1h
addis r16, r16, __xdisp32hi_2
addi r16, r16, __xdisp32lo_2

mr r3, r16
mr r3, r16

end

Expand All @@ -3336,7 +3386,16 @@ inline %2F1h
addis r16, r16, __xdisp32hi_2
addi r16, r16, __xdisp32lo_2

mr r4, r16
mr r4, r16

end

// ; xstoresir :n, 0
inline %5F1h

li r16, 0

std r16, __arg16_1(r1)

end

Expand All @@ -3354,6 +3413,32 @@ inline %7F1h

end

// ; xstoresir :n, -1
inline %8F1h

li r16, 0
addi r16, r16, -1

std r16, __arg16_1(r1)

end

// ; xstoresir :0, -1
inline %9F1h

li r3, 0
addi r3, r3, -1

end

// ; xstoresir :1, -1
inline %0AF1h

li r4, 0
addi r4, r4, -1

end

// ; extopenin
inline %0F2h

Expand Down Expand Up @@ -3702,7 +3787,15 @@ inline %0F9h
ld r16, toc_code(r2)
addis r16, r16, __xdisp32hi_2
addi r16, r16, __xdisp32lo_2
std r16, __arg16_1(r1)
std r16, __arg16_1(r31)

end

// ; xstorefir
inline %5F9h

li r16, 0
std r16, __arg16_1(r31)

end

Expand Down
Loading