Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata
15
lexers/testdata/erlang.actual
vendored
Normal file
15
lexers/testdata/erlang.actual
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
-module(repl).
|
||||
|
||||
-export([run/0]).
|
||||
|
||||
run() ->
|
||||
read_eval_process().
|
||||
|
||||
read_eval_process() ->
|
||||
Line = io:get_line("> "),
|
||||
Out = process_line(Line),
|
||||
io:format("< ~s~n~n", [Out]),
|
||||
read_eval_process().
|
||||
|
||||
process_line(Line) ->
|
||||
string:uppercase(Line).
|
Loading…
Add table
Add a link
Reference in a new issue