eddid / jslang Goto Github PK
View Code? Open in Web Editor NEWA Javascript AOT compiler base on LLVM
A Javascript AOT compiler base on LLVM
What?
Any intention to improve this project by adding optional typing to emit optimized fast code?
How?
Using typescript as source language.
PTW32_DLLPORT int PTW32_CDECL pthread_setconcurrency (int);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1089:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_getconcurrency (void);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1094:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_init(pthread_rwlock_t *lock,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1097:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_destroy(pthread_rwlock_t *lock);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1099:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_tryrdlock(pthread_rwlock_t *);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1101:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_trywrlock(pthread_rwlock_t *);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1103:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_rdlock(pthread_rwlock_t *lock);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1105:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_timedrdlock(pthread_rwlock_t *lock,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1108:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_wrlock(pthread_rwlock_t *lock);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1110:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_timedwrlock(pthread_rwlock_t *lock,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1113:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_unlock(pthread_rwlock_t *lock);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1115:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlockattr_init (pthread_rwlockattr_t * attr);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1117:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlockattr_destroy (pthread_rwlockattr_t * attr);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1119:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * attr,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1122:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_rwlockattr_setpshared (pthread_rwlockattr_t * attr,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1131:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_kill(pthread_t thread, int sig);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1140:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_mutexattr_setkind_np(pthread_mutexattr_t * attr,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1142:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_mutexattr_getkind_np(pthread_mutexattr_t * attr,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1148:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_delay_np (struct timespec * interval);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1149:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_num_processors_np(void);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1155:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_win32_process_attach_np(void);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1156:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_win32_process_detach_np(void);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1157:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_win32_thread_attach_np(void);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1158:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_win32_thread_detach_np(void);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1163:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthread_win32_test_features_np(int);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1164:1: warning: empty declaration
enum ptw32_features {
^~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1177:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT void * PTW32_CDECL pthread_timechange_handler_np(void *);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1186:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT HANDLE PTW32_CDECL pthread_getw32threadhandle_np(pthread_t thread);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1204:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthreadCancelableWait (HANDLE waitHandle);
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1205:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT int PTW32_CDECL pthreadCancelableTimedWait (HANDLE waitHandle,
^~~~~~~~~~~~~
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:538:27: error: expected declaration specifiers before ‘__declspec’
# define PTW32_DLLPORT __declspec (dllexport)
^
/home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.h:1285:1: note: in expansion of macro ‘PTW32_DLLPORT’
PTW32_DLLPORT DWORD PTW32_CDECL ptw32_get_exception_services_code(void);
^~~~~~~~~~~~~
In file included from /home/guest/Gits/Compiler/jslang/third_party/pthreads/pthread.c:40:0:
/home/guest/Gits/Compiler/jslang/third_party/pthreads/implement.h:46:10: fatal error: windows.h: No such file or directory
#include <windows.h>
^~~~~~~~~~~
Not Support Linux?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.