GithubHelp home page GithubHelp logo

epatrizio / ola Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 234 KB

OCaml Lua Interpreter

License: The Unlicense

OCaml 62.69% Lua 24.83% Raku 6.43% Perl 4.15% Turing 1.71% Terra 0.19%
interpreter lua lua-executor ocaml-library

ola's Introduction

Hi there πŸ‘‹

tl;dr

  • πŸ’» R&D software engineer
  • πŸ’½ Computer Scientist, work in progress ;)
  • ➿ Programming languages design enthusiast
  • 🌍 Need for open source
  • 🌻 Convinced by the minimalist philosophy
  • πŸ€” Discovering low tech computing approach
  • 🐫 OCaml
  • πŸ•Έ WebAssembly (wasm)
  • 🐘 PHP
  • πŸŒ” Lua
  • πŸ“– Life long learner

current status

OCamlPro company

I contribute to the OCamlPro owi 🐌 project (OCaml WebAssembly toolchain : concrete and symbolic interpretation), part of a research project on OCaml to Wasm compilation.

Side project

ola (OCaml Lua experiments) is a personal experimental project. First step, ola is a Lua language interpreter written in OCaml.
My objective is to obtain a deeper understanding of dynamic languages design.

ola's People

Contributors

epatrizio avatar zapashcanon avatar

Watchers

 avatar  avatar

Forkers

zapashcanon

ola's Issues

Bug return statement

3.3.4 – Control Structures (official documentation)
https://www.lua.org/manual/5.4/manual.html#3.3.4

The return statement can only be written as the last statement of a block. If it is necessary to return in the middle of a block, then an explicit inner block can be used, as in the idiom do return end, because now return is the last statement in its (inner) block.

--
Actually, when return isn't at the end of the block, the stop is still made at this point.

Improve REPL

For now, REPL supports only statement :
expressions produce syntax errors.

Bug comment

A comment on the last line causes an error :
Fatal error: exception Assert_failure("src/lexer.ml", 155, 9)

Bug variadic function

Parsing error with function signature like function f(a, ...)
function f(...) is ok !

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.