Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
install: micromamba install -y xeus-r -c conda-forge
kernel-name: xr
- name: xeus-lua
install: micromamba install -y xeus-lua -c conda-forge
install: micromamba install -y "xeus-lua>=0.10.1" -c conda-forge
kernel-name: xlua
- name: xeus-haskell
install: |
Expand Down Expand Up @@ -169,6 +169,8 @@ jobs:
micromamba-version: 'latest'
environment-name: kernel
init-shell: bash
cache-environment: false
cache-downloads: false
create-args: >-
python=3.12
jupyter_client
Expand Down
8 changes: 4 additions & 4 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@
"complete_code": "x = 1",
"syntax_error": "function function",
"input_prompt": "io.read()",
"sleep_code": "-- Lua sleep requires os.execute or socket",
"sleep_code": "function sleep(t)local start = os.time();repeat until os.time() > start + t end;sleep(1)",
"completion_var": "test_variable_for_completion",
"completion_setup": "test_variable_for_completion = 42",
"completion_prefix": "test_variable_for_",
"display_data_code": "ilua.display.html('<b>bold</b>')",
"update_display_data_code": "-- Lua doesn't support update_display_data",
"rich_execute_result_code": "// Lua uses display_data for rich output"
"display_data_code": "ilua.display.display_data(ilua.display.html('<b>bold</b>'))",
"update_display_data_code": "ilua.display.display_data(ilua.display.html('<b>hello</b>'), {}, {display_id = 'id1'} )\nilua.display.update_display_data(ilua.display.html('<b>world</b>'), {}, {display_id = 'id1'} )",
"rich_execute_result_code": "ilua.display.html('<b>world</b>')"
},
"haskell": {
"print_hello": "putStrLn \"hello\"",
Expand Down
Loading