-
Add Graal JIT Compilation to Your JVM Language in 5 Steps, A Tutorial http://stefan-marr.de/2015/11/add-graal-jit-compilation-to-your-jvm-language-in-5-easy-steps-step-1/
-
The SimpleLanguage, an example of using Truffle with great JavaDocs. It is the officle getting-started project: https://github.com/graalvm/simplelanguage
-
Truffle Tutorial, Christan Wimmer, PLDI 2016, 3h recording https://youtu.be/FJY96_6Y3a4 Slides
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local json = require('rapidjson') | |
local path = "C:/temp/1.json" | |
local file = io.open(path, 'r') | |
local debtors, debtorsMap, company, phones, phone, debt, debtor | |
debtors = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$report = Select-String -Path .\history.mxl -Pattern "{`"#`"," | select Line | |
$ver = "" | |
for ($i = 0; $i -lt $report.count; $i++) { | |
if ($report[$i].Line.StartsWith("{`"#`",`"Version:`"}")) { | |
$raw = $report[$i+1].Line | |
$ver = $raw.Substring(6, $raw.Length - 8) -replace "," | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using namespace System.Collections.Generic | |
#region Runtime | |
Add-Type -AssemblyName System.speech | |
$Ирина = New-Object System.Speech.Synthesis.SpeechSynthesizer | |
cls | |
$lib = @{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
f = open("C:/temp/синтаксические ошибки.txt", mode="r", encoding="utf-8") | |
m = collections.defaultdict(list) | |
for line in f.readlines(): | |
i = line.index(" ") | |
m[line[:i]].append(line[i+1:]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Procedure RunAtServer() | |
Reader = New DataReader("C:\temp\20180713000000.lgp"); | |
Start = CurrentUniversalDateInMilliseconds(); | |
If Reader.SkipTo("{") >= 0 Then | |
Delimeters = New Array; | |
Delimeters.Add(""""); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#REQUIRES -Version 3.0 | |
# This is a simple sample for access the MS UIAutomation in PowerShell. | |
# In this sample: | |
# 1. Load the MS UIA via System.Reflection.Assembly | |
# 2. Launch the AUT ( calc.exe ) | |
# 3. Find the AutomationElement via the AUT Process Id | |
# 4. Find buttons via 'ClassName' and 'Name' property | |
# 5. Click the '1', '+', '1', '=' buttons. | |
# At last, we will get '2' in the result of calc App. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Procedure ParseFiles(Path) Export | |
Files = FindFiles(Path, "*.bsl", True); | |
Total = Files.Count(); | |
MaxJobs = 8; | |
JobList = New Array(MaxJobs); | |
JobArgs = New Array(1); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Parse(Src, Pos = 1) | |
List = New Array; | |
Pos = Pos + 1; Chr = Mid(Src, Pos, 1); | |
If Chr = Chars.LF Then Pos = Pos + 1; Chr = Mid(Src, Pos, 1); EndIf; | |
Beg = Pos; | |
While Chr <> "" Do | |
If Chr = "{" Then | |
List.Add(Parse(Src, Pos)); | |
Pos = Pos + 1; Chr = Mid(Src, Pos, 1); | |
If Chr = Chars.LF Then Pos = Pos + 1; Chr = Mid(Src, Pos, 1); EndIf; |