O que é o formato de ficheiro JUK?
Um arquivo .juk contém código-fonte escrito em Juka, uma linguagem de programação gratuita e de código aberto criada para executar o mesmo código em várias plataformas. O arquivo é texto simples em UTF-8, portanto, contém instruções legíveis: declarações de funções e classes, loops, condicionais, blocos try/catch e chamadas de saída como printLine(«test» + 5);.
O Juka é o sucessor de uma linguagem anterior chamada Juliar, que usava a extensão .jlr. O projeto é mantido pela comunidade JukaLang e seu código-fonte reside no GitHub e Codeberg. Por baixo do capô, os programas Juka são manipulados pelo JukaCompiler, um componente .NET que usa as bibliotecas Roslyn da Microsoft para transformar o código-fonte em código intermediário .NET ou executá-lo diretamente através de um interpretador. A maioria das pessoas que encontra um arquivo .juk são desenvolvedores testando a linguagem ou trabalhando em seus repositórios.
Segurança e proteção
RISCO: 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.
Detalhes do formato
em resumo- 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.
Programas que abrem arquivos 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. Detalhes técnicos
especificação profunda| 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) |
| Lançado | 2020 |
| Versão mais recente | Rolling release (JukaCompiler 0.0.x on NuGet) |
| Especificação | codeberg.org |
Conversões de JUK
Perguntas e Respostas da Comunidade
perguntado por usuáriosAinda não há perguntas - seja o primeiro a perguntar sobre arquivos JUK.
Perguntas frequentes
O que é um arquivo .juk?
Como faço para abrir um arquivo .juk?
juka seuarquivo.juk em um terminal.Como executo um programa .juk?
./juka seuarquivo.juk. Executar juka sem argumentos abre um REPL interativo.O Juka é o mesmo que Juliar?
.jlr; o projeto foi renomeado para Juka, e os novos arquivos de origem usam .juk.É seguro abrir um arquivo .juk?
Posso transformar um arquivo .juk em um aplicativo?
.exe do Windows ou um assembly .dll, e existem aplicativos Juka que o encapsulam para plataformas móveis.