Skip to content

Commit

Permalink
More debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAndreiM committed Jul 14, 2024
1 parent 97a6c67 commit ded6ad6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,9 @@ task:
- GITHUB_TOKEN: ENCRYPTED[!b7770b286394d89374afd6ce2ef353693b8b922c6c0d6169c4e55fb926ea26507660d0759f6a2cdf2e2436e514742573!]
- JUKA_TOKEN: Linux_X86
setup_script:
- dpkg --print-architecture
- dpkg --print-foreign-architectures
- dpkg --add-architecture i386
- apt-get update
- apt-get install -y software-properties-common
- add-apt-repository universe
- apt-get update
- apt-get install -y wget curl libc6:i386 libncurses5:i386 libstdc++6:i386 libicu-dev:i386 libssl-dev:i386 zlib1g:i386
- apt-get install -y wget curl libc6:i386 libncurses6:i386 libstdc++6:i386 libicu-dev:i386 libssl-dev:i386 zlib1g:i386
- mkdir /usr/share/dotnet
- wget https://github.com/jukaLang/JukaPortLibraries/releases/download/JukaLibs/dotnet-sdk-8.0.204-linux-x86.tar.gz
- tar xf dotnet-sdk-8.0.204-linux-x86.tar.gz -C /usr/share/dotnet/
Expand Down
8 changes: 8 additions & 0 deletions src/JukaCompiler/Compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ public string CompileJukaCode(string data, bool isFile = true)
Parser parser = new(new Scanner(data, _serviceProvider, isFile), _serviceProvider);
List<Statement> statements = parser.Parse();


foreach (var array in statements)
{
Console.WriteLine(array);


}

return Compile(statements);
}
catch (Exception ex)
Expand Down

0 comments on commit ded6ad6

Please sign in to comment.