Skip to content

Nrosa01/CSLox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#CSLox

.NET 8.0 C# direct port of jlox from crafting interpreters book. Right now it doesn't have almost anything different from the book version as I wanted to learn the basics. Once I finish with the bytecode interpreter I might return to this one to complete the challenges.

Implementation details

  • As C# doesn't support Void in generics like Java, object? is used instead
  • C# can't implement an anonymous interface like a lamabda like Java, so for the clock native function, a NativeFunction class has been created. It's currently only used for clock but it could be use for any other inline native function declaration in the interpreter class

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages