Giter Site home page Giter Site logo

Comments (1)

marthinwurer avatar marthinwurer commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.