Code Monkey home page Code Monkey logo

morph's Introduction

morph

Morph is a component langauge that compiles to your platform

When writing in morph your feature set changes based on your name and what files your allowed to import

when you import a morph file ie

` files in dir

myComponent.dom.morph myComponent.htl.morph myComponent.morph

import myComponent from './myComponent.morph'

compiling to react:

it would first try to load myComponent.react.morph, since thats not avalible it moves up.

its see if theres dom, there is so it loads this one.

compiling to htl: it checks to see if there is a myComponent.htl.morph so it uses that.

compiling to reactNative: it checks to see if there a reactNative, there isnt and it keep checking till it gets to myComponent.morph, if this wasnt here it would throw an error that it couldnt build to reactNative do to missing reactNative.

`

current Hierarchy

htl -> dom -> primatives -> root react --^ ^ react-native ---^

Morph is going to have a very strict built in linter. This is because morph code is design to be edited by external editors and be read by different dev tools.

morph's People

Contributors

miketamis avatar

Watchers

James Cloos avatar David Xu avatar

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.