Skip to content

Compile-time brainfuck interpreter written in Rust using some unstable nightly features

License

Notifications You must be signed in to change notification settings

darksv/compile-time-brainfck-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning!

This repository contains some wildly unsafe Rust code that uses many unstable const fn features like compile-time heap allocation or operations on raw pointers. These features were (ab)used to build a compile-time brainf*ck interpreter. Do not try this at home! Similar effect can be achieved much easier on stable compiler with just a procedural macro!

Contributing

If you know how 'improve' this code to exploit more unstable nightly features - feel free to leave a PR.

About

Compile-time brainfuck interpreter written in Rust using some unstable nightly features

Topics

Resources

License

Stars

Watchers

Forks

Languages