From 42ed0701a1c9355cdc912bf29e5720cc19d31547 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Tue, 9 Oct 2018 00:31:43 +0300 Subject: Added sample JavaScript for the lexer --- demo/flex/hello.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 demo/flex/hello.js diff --git a/demo/flex/hello.js b/demo/flex/hello.js new file mode 100644 index 0000000..48170a0 --- /dev/null +++ b/demo/flex/hello.js @@ -0,0 +1,4 @@ +function answer() { + return 42; +} +console.log('The "Answer" is:\' ' + answer()); -- cgit v1.3.1-26-gb76a