Skip to content

Instantly share code, notes, and snippets.

using JuliaSyntax
using JuliaLowering
const JS = JuliaSyntax
const JL = JuliaLowering
jsparse(s) = JS.build_tree(JL.SyntaxTree, JS.parse!(JS.ParseStream(s); rule=:statement))
function jlower(mod, st0)
ctx1, st1 = JL.expand_forms_1( mod, st0)
ctx2, st2 = JL.expand_forms_2( ctx1, st1)
# Remember to insert license below
#
# cd should be a folder containing this dockerfile and the arm fm installation folders:
# | Dockerfile
# | FVP_ARM_Std_Library_11.21_15_Linux64_armv8l
# | FastModels_ThirdParty_IP_11-21_Linux64_armv8l
# | FastModels_11-21-015_Linux64_armv8l
# | arm-fastmodels-boot (git clone the example repo)
#
# To build the image (once):