-
Notifications
You must be signed in to change notification settings - Fork 2
[FR] Add julia #10
Comments
@BeastyBlacksmith Yes, It might take a while, since I wanted to update the Elixir implementation a bit, but it shouldn't be problematic ... When do you need it? ;-) |
By end of September would be nice. If I can help with the julia related part, you can ping me anytime. |
@BeastyBlacksmith It took some time ... sorry ... within the next week we will migrate from heroku, I could not update the original version the process somehow failed due to firejail ... However, there is a new version, this time developed with Python https://github.com/LiaScript/CodeRunner2 Julia is also installed, you can try it from here: |
Lovely, thank you for that. It would be nice to have a way to start a julia session at the first execution and then evaluate new code blocks in that session. Another nice addition would be to be able to specify the environment the code is executed in. Julia povides |
Yes, at the moment it is one process per script-environment. You can define custom commands, if I got you right. If you take a look at the dotnet example, there is also a project-file used. If there is no space between two codesnippets then they are interpreted as one project: ```csharp
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
```
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
```
@LIA.eval(`["Program.cs", "project.csproj"]`, `dotnet build -nologo`, `dotnet run`) The first parameter of <!--
@dotnet: @LIA.eval(`["Program.cs", "project.csproj"]`, `dotnet build -nologo`, `dotnet run`)
-->
# Title
```csharp
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
```
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
```
@dotnet concerning the session ... you can also use:
this will create a file By the way, if you create diagrams and store them within the current folder as images then, they will be displayed at the end of the session, as presented in the R example ... |
Would it be possible to add the ability to execute julia code?
The text was updated successfully, but these errors were encountered: