Giter Club home page Giter Club logo

lolcode-java's People

Contributors

lacraig2 avatar

Watchers

 avatar  avatar

lolcode-java's Issues

VISIBLE dropping last character in string

What steps will reproduce the problem?
1. create hello_world.LOL:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
2. java -jar lolcode.jar hellow_world.LOL 
3. observer output

What is the expected output? What do you see instead?
expected "HAI WORLD!", receive "HAI WORLD"

What version of the product are you using? On what operating system?
Trying this on OS X 10.4.10 with Java 1.5.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Jul 2007 at 5:22

Blank lines at the end of a file cause parsing errors

What steps will reproduce the problem?
1. Take hello_world.LOL from the samples 
2. Add one or more newlines to the end of the file
3. Attempt to run the file using the lolcode JAR

What is the expected output?
HAI WORLD!

What do you see instead?
Exception in thread "main" com.lolcode.parser.ParseException: Encountered "\n" 
at line 4, column 8.
Was expecting:
    <EOF> 

    at com.lolcode.parser.LolCode.generateParseException(Unknown Source)
    at com.lolcode.parser.LolCode.jj_consume_token(Unknown Source)
    at com.lolcode.parser.LolCode.CompilationUnit(Unknown Source)
    at com.lolcode.Run.main(Unknown Source)

What version of the product are you using?
0.11

On what operating system?
Mac OSX 10.7.3

Please provide any additional information below.
If / when I get a chance I'll have a crack at fixing this and submit a patch 
here.

Original issue reported on code.google.com by [email protected] on 26 Apr 2012 at 9:21

Crash with VISIBLE keyword

What steps will reproduce the problem?
1. Execute any .LOL file using "VISIBLE" or use VISIBLE in the interpreter

The following is the full text:
tweety:~/Downloads tindelli$ java -jar LOLCODE-0.11.jar hello_world.LOL 
Exception in thread "main" com.lolcode.parser.ParseException: Encountered "\n" 
at line 4, 
column 8.
Was expecting:
    <EOF> 

        at com.lolcode.parser.LolCode.generateParseException(Unknown Source)
        at com.lolcode.parser.LolCode.jj_consume_token(Unknown Source)
        at com.lolcode.parser.LolCode.CompilationUnit(Unknown Source)
        at com.lolcode.Run.main(Unknown Source)

This is on OS X, however the message is the same on Linux and Windows (except 
on Windows it 
says Encountered "\r\n" at line 4, column 8; due to the difference in line 
endings)

What version of the product are you using? On what operating system?
LOLCODE-0.11; Mac OS X 10.4.10, Windows XP SP2, Gentoo Linux

Original issue reported on code.google.com by [email protected] on 30 Jul 2007 at 3:07

lol.sh is not included

What steps will reproduce the problem?
1. run build.xml

What is the expected output? What do you see instead?
Project should build successfully.  Instead you get an ant error saying:
BUILD FAILED
/home/vader/workspace/lolcode-java/build.xml:122: Warning: Could not find
file /home/vader/workspace/lolcode-java/bin/lol.sh to copy.


Original issue reported on code.google.com by [email protected] on 4 Aug 2009 at 11:47

'BIGGR' isn't in grammar; need to become compliant with 1.3 spec

To reproduce the problem:
1. take the sample count!!1.LOL file
2. change BIGGER to BIGGR
3. try to re-run it

Expected output are the numbers 1 through 10. Instead, the input file fails to 
parse correctly.

sadly, lolcode.com is down at the moment (or at least for me), so i'm not 100% 
sure "BIGGR" is the correct token (wikipedia has "BIGR"). i am 100% sure 
whatever the correct token is, it doesn't have an "E" in it :)

when i can get my hands on the spec i'll dive into it.


Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 12:51

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.