fglock / Perlito

"Perlito" Perl programming language compiler
http://fglock.github.io/Perlito/
Other
414 stars 47 forks source link

Code examples on website don't compile #59

Closed cygx closed 5 years ago

cygx commented 5 years ago

The 'Perl5' and 'Perl5 to Perl6' code examples on the website fail to compile.

Hitting 'execute' on https://fglock.github.io/Perlito/perlito/perlito5.html results in

Compiling.
Error:
Value tokens must be separated by an operator (did you forget a comma?) at  line 14

Compilation aborted.

Hitting 'execute' on https://fglock.github.io/Perlito/perlito/perlito5to6.html results in

Compiling.
Error:
Bareword found where operator expected at  line 10

Compilation aborted.

The 'Perl6' example seems to work.

fglock commented 5 years ago

Thank you for reporting! Recompiling and uploading the files solved the problem.

The following files were updated:

https://fglock.github.io/Perlito/perlito/perlito5.js

https://fglock.github.io/Perlito/perlito/perlito5to6.js