by@progrunner17
WA
`define EOF 32'hFFFF_FFFF `define STDIN 32'h8000_0000 module cat; integer c,d; $write("%d", "\n"); initial begin c = $fgetc(`STDIN); while (c != `EOF) begin d = c; while(c != '\n) begin c = $fgetc(`STDIN); d = d + c; end $write("%c", d); end end endmodule
00001111 11010010 10011100 11111111 00000001 10000111 01000010 10110101 01100000 00100011 01111000 00100001 11101101 00110111 10101011 01111011 00000110 00001010 10011111 10110000 10011001 01101001 11111011 01001110 00111010 00000000 00100100 01000110 11100101 00000011 00110111 01111001 01111101 10001010 01011011 11110011 00101010 10111110 11100111 00101101 11000000 11111101 10100111 10011001 00010101 10001000 10101000 10011101 00011111 00011100
/volume/CODE:6: syntax error /volume/CODE:6: error: invalid module item. /volume/CODE:12: error: unmatched character (') /volume/CODE:12: syntax error /volume/CODE:13: error: malformed statement /volume/CODE:12: error: Error in while loop condition. /volume/CODE:20: syntax error I give up. /home/esolang/bin/verilog: line 4: /tmp/code: No such file or directory rm: cannot remove '/tmp/code': No such file or directory