πŸ“ Source Files

86 files
πŸ“„ README
  • Harrayclassobject.h
  • Harrayliteral.h
  • C++arrayobject.cpp
  • Harrayobject.h
  • Hbitcast.h
  • C++block.cpp
  • Hblock.h
  • C++blockfunctions.cpp
  • Hblockfunctions.h
  • Hcall.h
  • Hcallbase.h
  • Hcallnamed.h
  • Hcanbreak.h
  • Hcancontinue.h
  • Hcanreturn.h
  • Hclass.h
  • C++classobject.cpp
  • Hclassobject.h
  • Hconditionalor.h
  • Hcontainer.h
  • C++context.cpp
  • Hcontext.h
  • Hcontrol.h
  • Hdobreak.h
  • Hdocontinue.h
  • Hdoreturn.h
  • Hdot.h
  • Hdotcall.h
  • Hdotset.h
  • Hdotsetcall.h
  • Hdoubleclassobject.h
  • Hdoubleliteral.h
  • C++error.cpp
  • Herror.h
  • Hfunction.h
  • C++functionobject.cpp
  • Hfunctionobject.h
  • Hget.h
  • Hif.h
  • Himport.h
  • Hintclassobject.h
  • Hintliteral.h
  • C++intobject.cpp
  • Hintobject.h
  • Hlogicalnot.h
  • C++main.cpp
  • C++makerootcontext.cpp
  • Hmakerootcontext.h
  • C++nativefunction.cpp
  • Hnativefunction.h
  • C++node.cpp
  • Hnode.h
  • C++object.cpp
  • Hobject.h
  • Hobjectclassobject.h
  • C++package.cpp
  • Hpackage.h
  • Hpackageatom.h
  • C++packageatominstance.cpp
  • Hpackageatominstance.h
  • C++parse.cpp
  • Hparse.h
  • Hrootpackage.h
  • Hset.h
  • Hsetcall.h
  • Hsetsubscript.h
  • Hstrictequal.h
  • Hstringclassobject.h
  • Hstringliteral.h
  • C++stringobject.cpp
  • Hstringobject.h
  • Hsubscript.h
  • Hsubscriptcall.h
  • Hsuper.h
  • Hsuperconstructorcall.h
  • Hsuperdot.h
  • Hsupermethodcall.h
  • C++userclassobject.cpp
  • Huserclassobject.h
  • C++userfunction.cpp
  • Huserfunction.h
  • C++userobject.cpp
  • Huserobject.h
  • C++value.cpp
  • Hvalue.h
  • Hwhile.h

Zef baseline interpreter (before any optimizations).

This interpreter uses hashtables and strings everywhere. It’s 35x slower than CPython, 80x slower than Lua, and 23x slower than QuickJS!

However, it does implement the full Zef language.

Select a file