Skip to content

Update 'lolc' to 'dolang' in pyproject.toml #11

Update 'lolc' to 'dolang' in pyproject.toml

Update 'lolc' to 'dolang' in pyproject.toml #11

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
run-linux-python3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Compile
run: |
# For some reason, if we change to the compiler directory, Python complains.
export PYTHONPATH="${PYTHONPATH}:/home/runner/work/dolang/dolang/src/"
for x in fibonacci helloworld math_ops nested_if sum_three
do
python src/compiler/lol.py -i examples/$x.lol -o results
gcc results/$x-*.c
./a.out
done