SaptakBhoumik / Peregrine

A blazing fast language for the blazing fast world(WIP)
https://peregrine-lang.github.io/
Mozilla Public License 2.0
1.46k stars 76 forks source link

There are too many errors when compile the .pe file from the peregrine.elf compiler #126

Closed ghost closed 2 years ago

ghost commented 2 years ago

Describe the bug It seems that the above error does not arise from the compiler but due to the syntax of the C++ language (occurring in temp.cc) The versions have been installed: meson 0.62.2 ninja 1.10.2.git.kitware.jobserver-1 clang 14.0.3

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Peregrine' folder
  2. Run commands 'meson builddir' -> 'cd builddir' -> 'ninja'
  3. Compile './peregrine compile ../can_comp.pe'
  4. See error

Expected behavior compile can_comp.pe successfully

Screenshots bug

Desktop (please complete the following information):

SaptakBhoumik commented 2 years ago

@PhamXD I have fixed this issue. Let me know if it works or not

ghost commented 2 years ago

Thank @SaptakBhoumik, the issue #126 has been fixed and it worked as my expected!