Co to jest format pliku JUK?
Plik .juk zawiera kod źródłowy napisany w Juka, darmowym języku programowania open-source, stworzonym do uruchamiania tego samego kodu na wielu platformach. Plik jest zwykłym tekstem UTF-8, więc zawiera czytelne instrukcje: deklaracje funkcji i klas, pętle, instrukcje warunkowe, bloki try/catch oraz wywołania wyjściowe, takie jak printLine(„test” + 5);.
Juka jest następcą wcześniejszego języka o nazwie Juliar, który używał rozszerzenia .jlr. Projekt jest utrzymywany przez społeczność JukaLang, a jego kod źródłowy znajduje się na GitHub i Codeberg. Pod maską programy Juka są obsługiwane przez JukaCompiler, komponent .NET, który wykorzystuje biblioteki Microsoft Roslyn do przekształcania kodu źródłowego w kod pośredni .NET lub uruchamia go bezpośrednio przez interpreter. Większość osób, które napotykają plik .juk, to programiści testujący język lub pracujący z jego repozytoriami.
Bezpieczeństwo
RYZYKO: MEDIUMA .juk file is plain-text source code and cannot execute on its own by being opened in an editor. The risk is in running it: Juka code compiled or interpreted through the Juka runtime can perform any action the language allows, so treat files from untrusted sources like any other unreviewed script and read the code before running it.
Szczegóły formatu
w pigułce- KDE JuK music manager - JuK is a KDE audio jukebox and music player. It manages libraries and playlists but does not use a .juk data file; the name is unrelated to the Juka language.
- JUKU BASIC - A BASIC-like language for the JUKU computer exists as a hobby project; unrelated to Juka and not the dominant meaning of the .juk extension.
Programy otwierające pliki JUK
juka yourfile.juk in a terminal to execute the file, or launch juka alone for the interactive REPL. .juk file to read and edit the source as plain text with syntax highlighting from a generic language mode. ./juka yourfile.juk from Terminal to compile and run the file. ./juka yourfile.juk to execute the source, or ./juka for the REPL. new JukaCompiler.Compiler().JukaCompile(fileName, (isFile: true)); to compile a .juk file programmatically. .juk file to inspect or edit the plain-text source. .juk snippets in a notebook. Szczegóły techniczne
specyfikacja| Encoding | UTF-8 / ASCII plain text |
| Byte order | Not applicable (text) |
| Container | None (flat text file) |
| Typical size | Under 100 KB for a single source module |
| Structure | Human-readable Juka source code: function and class declarations, variable assignments, loops (for/while), conditionals, try/catch blocks, and calls such as printLine(). Statements terminate with a semicolon. |
| Integrity | None built in |
| Platforms | Windows, macOS, Linux, FreeBSD, Android |
| Initial Release Full | 2020 (evolved from the earlier Juliar language, .jlr) |
| Notes | Juka source is compiled by JukaCompiler, which uses the Microsoft.CodeAnalysis (Roslyn) libraries to emit .NET intermediate code, or run directly through the Juka interpreter/REPL. The compiler targets .NET 8 and is distributed on NuGet as JukaCompiler. |
| Language Paradigm | General-purpose, imperative with functions and classes |
| Runtime | .NET 8 (cross-platform) |
| Wydano | 2020 |
| Najnowsza wersja | Rolling release (JukaCompiler 0.0.x on NuGet) |
| Specyfikacja | codeberg.org |
Konwersje JUK
Pytania i odpowiedzi społeczności
pytania użytkownikówBrak pytań - bądź pierwszą osobą, która zapyta o pliki JUK.
Najczęściej zadawane pytania
Co to jest plik .juk?
Jak otworzyć plik .juk?
juka twojplik.juk w terminalu.Jak uruchomić program .juk?
./juka twojplik.juk. Uruchomienie juka bez argumentów otwiera zamiast tego interaktywny REPL.Czy Juka to to samo co Juliar?
.jlr; projekt został przemianowany na Juka, a nowe pliki źródłowe używają rozszerzenia .juk.Czy plik .juk jest bezpieczny do otwarcia?
Czy mogę zamienić plik .juk w aplikację?
.exe lub zestaw .dll, istnieją też aplikacje Juka, które opakowują go dla platform mobilnych.