Comments (1)
Start interpreted, then move to code generation in other languages. Do really dumb code generation first, work on non-constant optimizations later.
Definite targets:
x86
C
VHDL
Verilog
Start with pure functional, add other features later.
Strong optional typing - will need to convert types. (Is it possible to do polymorphism by return type too? probably.)
Can duck typing be mixed in? Would have to trace where object is used and make sure that it supports all required types for function calls and dereferences.
Use @ for annotations (need to figure out how those work)
Base types:
True
False
array (Maybe vector/list/resizable type too?)
Enum
Can try to build all other types out of these, but should probably make some generic ones.
need a typedef for generics.
Oh yeah, generics. hopefully no template metaprogramming here
Want effectively vhdl entities (in, bus, out) - these are basically interfaces for state.
Functions
types(basically objects, also want properties)
probably no statics?
Types, functions, and entities can have different implementations. These need to be selected in some way, and the default implementation should be able to be overridden at runtime.
Implementation of
Modules would be nice.
x.y.module is standard for a lot of languages; I don't know why I'd change it unless things were confusing.
from clive.
Related Issues (8)
- Add unit tests for the tokenizer for cfg files HOT 1
- Add unit tests for the CFG file parsing HOT 1
- Add unit tests for tokenization from grammar files HOT 1
- Add unit tests for generic CFG parsing
- Add unit testing
- Implement tokenization using rules from a grammar file
- Implement loading of Extended Backus-Naur Form (EBNF) grammars HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clive.