Skip to content

bsc: rename module AST to ast #120

bsc: rename module AST to ast

bsc: rename module AST to ast #120

Workflow file for this run

name: Compiler Tests
on:
push:
branches:
- 'main'
paths: ['bsc/**', '.github/workflows/compiler_test.yml', 'tests/**']
pull_request:
paths: ['bsc/**', '.github/workflows/compiler_test.yml', 'tests/**']
types: [opened, synchronize]
jobs:
ubuntu-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install lark and LuaJIT
run: |
sudo pip3 install lark
sudo apt install luajit
- name: Check invalid code
run: |
python3 tests/check_invalid_code.py
- name: Check Code Generation
run: |
python3 bsc examples/hello_world.bs
python3 bsc tests/main.bs
luajit bsc-out/main.lua