chore(language): update code_jule (@adamperkowski) (#7097)

### Description

there's been some changes to Jule since it's been added here rso this PR
updates everything to the latest version

### Checks

- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.
This commit is contained in:
adam 2025-11-12 12:43:02 +01:00 committed by GitHub
parent 8db1140040
commit f44e491c5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 7 deletions

View file

@ -40,17 +40,20 @@
"u64",
"f32",
"f64",
"cmplx64",
"cmplx128",
"bool",
"str",
"any",
"byte",
"rune",
"static",
"const",
"mut",
"self",
"true",
"false",
"nil",
"iota",
"#build",
"#typedef",
"#cdef",

View file

@ -110,9 +110,9 @@
"id": 17
},
{
"text": "struct Dog {\n\tname: str\n\twords: str = \"woof woof\"\n}\n\nimpl Dog {\n static fn spawn(name: str): Dog {\n\t\tret Dog { name: name }\n }\n\n\tfn voice(self) {\n\t\tprintln(self.name + \" - \" + self.words)\n\t}\n}\n\nfn main() {\n\tdog0 := Dog.spawn(\"Rex\")\n\tdog1 := Dog.spawn(\"Buddy\")\n\n\tprintln(dog0.name)\n\n\tdog0.voice()\n\tdog1.voice()\n}",
"text": "struct Dog {\n\tname: str\n\twords: str = \"woof woof\"\n}\n\nimpl Dog {\n\tstatic fn spawn(name: str): Dog {\n\t\tret Dog { name: name }\n\t}\n\n\tfn voice(*self) {\n\t\tprintln(self.name + \" - \" + self.words)\n\t}\n}\n\nfn main() {\n\tdog0 := Dog.spawn(\"Rex\")\n\tdog1 := Dog.spawn(\"Buddy\")\n\n\tprintln(dog0.name)\n\n\tdog0.voice()\n\tdog1.voice()\n}",
"source": "Common Concepts - Structures | manual.jule.dev",
"length": 317,
"length": 312,
"id": 18
},
{
@ -134,9 +134,9 @@
"id": 21
},
{
"text": "type Int: int\n\nimpl Int {\n\tfn IsEven(self): bool { ret self%2 == 0 }\n\tfn IsOdd(self): bool { ret self%2 == 1 }\n}\n\nfn main() {\n\tx := Int(20)\n\tprintln(x.IsEven())\n\tprintln(x.IsOdd())\n}",
"text": "type Int: int\n\nimpl Int {\n\tfn IsEven(*self): bool { ret self%2 == 0 }\n\tfn IsOdd(*self): bool { ret self%2 == 1 }\n}\n\nfn main() {\n\tx := Int(20)\n\tprintln(x.IsEven())\n\tprintln(x.IsOdd())\n}",
"source": "Types - Aliasing | manual.jule.dev",
"length": 182,
"length": 184,
"id": 22
},
{
@ -146,9 +146,9 @@
"id": 23
},
{
"text": "trait Foo {\n fn foo(self)\n}\n\ntrait Bar {\n fn bar(self)\n}\n\ntrait FooBar {\n Foo\n Bar\n}\n\nstruct Baz {}\n\nimpl FooBar for Baz {\n fn foo(self) { println(\"foo\") }\n fn bar(self) { println(\"bar\") }\n}\n\nfn main() {\n let a: FooBar = Baz{}\n a.foo()\n a.bar()\n let b: Foo = a\n b.foo()\n let c: Bar = a\n c.bar()\n}",
"text": "trait Foo {\n\tfn foo(*self)\n}\n\ntrait Bar {\n\tfn bar(*self)\n}\n\ntrait FooBar {\n\tFoo\n\tBar\n}\n\nstruct Baz {}\n\nimpl FooBar for Baz {\n\tfn foo(*self) { println(\"foo\") }\n\tfn bar(*self) { println(\"bar\") }\n}\n\nfn main() {\n\tlet a: FooBar = Baz{}\n\ta.foo()\n\ta.bar()\n\tlet b: Foo = a\n\tb.foo()\n\tlet c: Bar = a\n\tc.bar()\n}",
"source": "Dynamic Types - Traits | manual.jule.dev",
"length": 335,
"length": 300,
"id": 24
},
{