Update README
This commit is contained in:
18
README.md
18
README.md
@@ -1,8 +1,8 @@
|
||||
# The Core Language
|
||||
|
||||
A compiled language that assumes C as base reality but it also has lots of ideas taken from Jai, Go like type system, order indepent declarations using Ion algorithm. Syntax currently is whitespace significant. Made to practice language development, *it's not supposed to be used*. It has lot's of ideas from modern programming languages that you would not find in any compiler book.
|
||||
A compiled language that assumes C as base reality but it also has lots of ideas taken from Jai, Go like type system, order indepent declarations using Ion algorithm. Syntax currently is whitespace significant. Made to practice language development, *it's not supposed to be used*. It has lot's of ideas from modern programming languages that you would not find in any compiler book. It supports *modules* combined with *ordered independent declarations* and *lazy typechecking*. Also *runtime reflection*, *slices* and other standard features you would find in C.
|
||||
|
||||
The language is currently very debuggable. It can produce readable C code with line directives. This allows you to debug the programs with Visual Studio with full source mapping, exactly like you would debug C programs.
|
||||
The language is currently *very debuggable*. It can produce readable C code with line directives. This allows you to debug the programs with Visual Studio with full source mapping, exactly like you would debug C programs.
|
||||
|
||||
## Language example code
|
||||
|
||||
@@ -61,7 +61,19 @@ commit :: (m: *Memory, size: SizeU): Bool
|
||||
|
||||
1. Requires *Windows*, *Visual Studio* and *Clang* to be installed
|
||||
1. Run *build.bat*
|
||||
1. They lived happily ever after
|
||||
1.
|
||||
|
||||
## Resources
|
||||
|
||||
Stuff that helped me a lot programming the compiler. Hopefully they also will be helpful to you!
|
||||
|
||||
* https://bitwise.handmade.network/ - series by Per Vognsen where he actually creates a C like language, very helpful, very hands on!
|
||||
* https://hero.handmade.network/episode/code/day206/ - this episode of handmade hero started me on the entire compiler journey a long, long time ago.
|
||||
* https://www.youtube.com/watch?v=TH9VCN6UkyQ&list=PLmV5I2fxaiCKfxMBrNsU1kgKJXD3PkyxO - I have rewatched this playlist many this, searching for keywords and ideas. Jonathan Blow's compiler was a big inspiration of mine when learning programming languages.
|
||||
* A Retargetable C Compiler: Design and Implementation by Christopher W. Fraser and David R. Hanson - sometimes looked at this as a reference to figure stuff out. Very helpful resource on compiler construction, the way it's written reads more like documentation but you use what you have.
|
||||
* https://github.com/JoshuaManton/sif - looked at this as a reference from time to time, author seems like a Jonathan Blow fan so it was a good resource informed by similar resources as I used.
|
||||
* https://github.com/c3lang/c3c - I sometimes looked at C3 compiler as a reference, the author also let me use his big int library he wrote sometime in the past! Thanks a lot!
|
||||
|
||||
|
||||
## Done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user